File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public static class Lua
5757 public delegate int lua_Writer ( IntPtr L , IntPtr p , ulong sz , IntPtr ud ) ;
5858 public delegate IntPtr lua_Reader ( IntPtr L , IntPtr ud , ref ulong sz ) ;
5959 public delegate IntPtr lua_Alloc ( IntPtr ud , IntPtr ptr , ulong osize , ulong nsize ) ;
60- public delegate void lua_Hook ( IntPtr L , IntPtr ar ) ;
60+ public delegate void lua_Hook ( IntPtr L , lua_Debug ar ) ;
6161
6262 ////
6363
@@ -100,6 +100,11 @@ public static string LUA_QL(string x)
100100
101101 public static readonly int LUAL_BUFFERSIZE = 512 > 16384 ? 8182 : 512 ;
102102
103+ public static void lua_assert ( bool c )
104+ {
105+ Debug . Assert ( c ) ;
106+ }
107+
103108 ////
104109
105110 public static readonly string LUA_VERSION = "Lua 5.1" ;
You can’t perform that action at this time.
0 commit comments