private lua_isinteger ( |
||
luaState | ||
p | int | |
return | int |
//需要优化,合并为1个call public bool CheckNullInteger(IntPtr L, int pos) { return(LuaDLL.lua_isinteger(L, pos) != 0 || LuaDLL.lua_type(L, pos) == LuaTypes.LUA_TNIL); }
public bool CheckInteger(IntPtr L, int pos) { return(LuaDLL.lua_isinteger(L, pos) != 0); }