1
0
Эх сурвалжийг харах

set the void* in LuaStyleFuncC back to a VM*

Kolten Pearson 3 жил өмнө
parent
commit
cbe99e6089
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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;