try fixing lua "buffer overflow" stack corruption crash when GC occurs while calling a cfunction
This commit is contained in:
parent
b240c675ce
commit
c823d6b46a
Binary file not shown.
Binary file not shown.
|
@ -127,9 +127,11 @@ namespace Lua511
|
|||
/*
|
||||
* Delegate for functions passed to Lua as function pointers
|
||||
*/
|
||||
[System::Runtime::InteropServices::UnmanagedFunctionPointer(CallingConvention::Cdecl)]
|
||||
public delegate int LuaCSFunction(IntPtr luaState);
|
||||
|
||||
// delegate for lua debug hook callback (by Reinhard Ostermeier)
|
||||
[System::Runtime::InteropServices::UnmanagedFunctionPointer(CallingConvention::Cdecl)]
|
||||
public delegate void LuaHookFunction(IntPtr luaState, IntPtr luaDebug);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue