Пример #1
0
 public static bool LuaTypeCheck(IntPtr ptr, int p, string t)
 {
     return(LuaNativeMethods.luaS_checkluatype(ptr, p, t) != 0);
 }
Пример #2
0
 public static bool IsLuaValueType(IntPtr ptr, int p)
 {
     return(LuaNativeMethods.luaS_checkluatype(ptr, p, null) == 1);
 }