This commit is contained in:
BLUELOVETH 2023-07-19 13:45:16 +08:00
parent db77b5293e
commit 64b1f806ef
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ PK_EXPORT bool pkpy_is_none(pkpy_vm*, int i);
// special push
PK_EXPORT bool pkpy_push_null(pkpy_vm*);
PK_EXPORT bool pkpy_push_function(pkpy_vm*, const char* sig, pkpy_CFunction);
PK_EXPORT bool pkpy_push_function(pkpy_vm*, const char* sig, pkpy_CFunction val);
PK_EXPORT bool pkpy_push_module(pkpy_vm*, const char* name);
// some opt

View File

@ -144,7 +144,7 @@ bool pkpy_push_null(pkpy_vm* vm) {
return returnValue;
}
bool pkpy_push_function(pkpy_vm* vm, const char* sig, pkpy_CFunction) {
bool pkpy_push_function(pkpy_vm* vm, const char* sig, pkpy_CFunction val) {
bool returnValue;
return returnValue;
}