Explorar el Código

set the void* in LuaStyleFuncC back to a VM*

Kolten Pearson hace 3 años
padre
commit
cbe99e6089
Se han modificado 1 ficheros con 1 adiciones y 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;