Explorar o código

set the void* in LuaStyleFuncC back to a VM*

Kolten Pearson %!s(int64=2) %!d(string=hai) anos
pai
achega
cbe99e6089
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/obj.h

+ 1 - 1
src/obj.h

@@ -12,7 +12,7 @@ struct Function;
 class VM;
 
 typedef PyObject* (*NativeFuncC)(VM*, ArgsView);
-typedef int (*LuaStyleFuncC)(void*);
+typedef int (*LuaStyleFuncC)(VM*);
 
 struct NativeFunc {
     NativeFuncC f;