LuaInterface.LuaDLL.lua_getref C# (CSharp) Method

lua_getref() public static method

public static lua_getref ( IntPtr luaState, int reference ) : void
luaState System.IntPtr
reference int
return void
        public static void lua_getref(IntPtr luaState, int reference)
        {
            LuaDLL.lua_rawgeti(luaState, LuaIndexes.LUA_REGISTRYINDEX, reference);
        }

Usage Example

示例#1
0
 /*
  * Pushes this table into the Lua stack
  */
 internal void push(IntPtr luaState)
 {
     LuaDLL.lua_getref(luaState, _Reference);
 }
All Usage Examples Of LuaInterface.LuaDLL::lua_getref
LuaDLL