mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 20:10:17 +00:00
set the void* in LuaStyleFuncC back to a VM*
This commit is contained in:
parent
ec7fefe302
commit
cbe99e6089
@ -12,7 +12,7 @@ struct Function;
|
|||||||
class VM;
|
class VM;
|
||||||
|
|
||||||
typedef PyObject* (*NativeFuncC)(VM*, ArgsView);
|
typedef PyObject* (*NativeFuncC)(VM*, ArgsView);
|
||||||
typedef int (*LuaStyleFuncC)(void*);
|
typedef int (*LuaStyleFuncC)(VM*);
|
||||||
|
|
||||||
struct NativeFunc {
|
struct NativeFunc {
|
||||||
NativeFuncC f;
|
NativeFuncC f;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user