API Update:Add CallBack
This commit is contained in:
1 parent
88cfa48d24
commit
b4da0b0b7a
4 files changed
+22
-15
No files matched your search
+1
-1
@@ -84,7 +84,7 @@ Src.RegisterFunction('','main');
|
||||
Module:=Src.Compilate;
|
||||
Func1:=Module.Funtion['main'];
|
||||
//Func2:=Module.Funtion['varmain'];
|
||||
if 454<>Func1.Call(TypeInfo(integer),[454],CRTBCallTypeStdCall).AsInteger then
|
||||
if 1<>Func1.Call(TypeInfo(integer),[454],CRTBCallTypeStdCall).AsInteger then
|
||||
raise Exception.Create('Error in LuaTest');
|
||||
//Var1:=Module.&Var['Pmain'];
|
||||
//Var1.Val:=424;
|
||||
|
||||
Reference in new issue
Block a user