LuaIsNil() public static method

public static LuaIsNil ( LuaState L, int n ) : bool
L LuaState
n int
return bool
示例#1
0
 static int report(LuaState L, int status)
 {
     if ((status != 0) && !Lua.LuaIsNil(L, -1))
     {
         CharPtr msg = Lua.LuaToString(L, -1);
         if (msg == null)
         {
             msg = "(error object is not a string)";
         }
         l_message(progname, msg);
         Lua.LuaPop(L, 1);
     }
     return(status);
 }