public static void PushInt32(this IntPtr L, int value) { XLLuaRuntime.lua_pushinteger(L, value); }
public static void PushHandle(this IntPtr L, IntPtr handle) { XLLuaRuntime.lua_pushlightuserdata(L, handle); }
public static void PushString(this IntPtr L, string str) { XLLuaRuntime.lua_pushstring(L, str); }
protected void EndCall() { XLLuaRuntime.lua_settop(_luaState, _lastTopIndex); }
public static bool GetBool(this IntPtr L, int index) { return(XLLuaRuntime.lua_toboolean(L, index)); }
public static void Pop(this IntPtr L, int n) { XLLuaRuntime.lua_settop(L, 0 - n - 1); }
public static void PushBool(this IntPtr L, bool value) { XLLuaRuntime.lua_pushboolean(L, value); }
public static IntPtr GetHandle(this IntPtr L, int index) { return(XLLuaRuntime.lua_touserdata(L, index)); }
private static void Push(this IntPtr L, bool value) { XLLuaRuntime.lua_pushboolean(L, value); }
public static void PushXLObject(this IntPtr L, string typeName, int handle) { XLLuaRuntime.XLLRT_PushXLObject(L, typeName, new IntPtr(handle)); }
public static void Call(this IntPtr L, int arg, int ret) { XLLuaRuntime.XLLRT_LuaCall(L, arg, ret, null); }
private static void Push(this IntPtr L, double value) { XLLuaRuntime.lua_pushnumber(L, value); }
public static void PushXLObject(this IntPtr L, string typeName, IntPtr handle) { XLLuaRuntime.XLLRT_PushXLObject(L, typeName, handle); }
private static void Push(this IntPtr L, int value) { XLLuaRuntime.lua_pushinteger(L, value); }
public static void PushDouble(this IntPtr L, double value) { XLLuaRuntime.lua_pushnumber(L, value); }
public static string GetString(this IntPtr L, int index) { return(XLLuaRuntime.lua_tostring(L, index)); }
public static int GetFuncRef(this IntPtr L) { return(XLLuaRuntime.luaL_ref(L, (int)LuaInnerIndex.LUA_REGISTRYINDEX)); }
public static int GetInt32(this IntPtr L, int index) { return(XLLuaRuntime.lua_tointeger(L, index)); }
public static bool IsLuaFunction(this IntPtr L, int index) { return(XLLuaRuntime.lua_type(L, index) == (int)LuaTypes.LUA_TFUNCTION); }
public static double GetDouble(this IntPtr L, int index) { return(XLLuaRuntime.lua_tonumber(L, index)); }
public static void PushNull(this IntPtr L) { XLLuaRuntime.lua_pushnil(L); }
protected void BeginCall() { _lastTopIndex = XLLuaRuntime.lua_gettop(_luaState); XLLuaRuntime.lua_rawgeti(_luaState, (int)LuaInnerIndex.LUA_REGISTRYINDEX, _luaFunctionRefIndex); }