set the void* in LuaStyleFuncC back to a VM*

This commit is contained in:
Kolten Pearson 2023-05-02 22:29:06 -06:00
parent ec7fefe302
commit cbe99e6089

View File

@ -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;