Tao.Lua.Lua.lua_ref C# (CSharp) Method

lua_ref() public static method

public static lua_ref ( lua_State L, bool lockit ) : int
L lua_State
lockit bool
return int
        public static int lua_ref(lua_State L, bool lockit)
        {
            if (lockit)
                return luaL_ref(L, LUA_REGISTRYINDEX);
            lua_pushstring(L, "unlocked references are obsolete");
            lua_error(L);
            return 0;
        }
Lua