private static int CollectObject(LuaState luaState, ObjectTranslator translator) { int udata = LuaLib.LuaNetRawNetObj(luaState, 1); if (udata != -1) { translator.CollectObject(udata); } return(0); }
/* * Gets the CLR object in the index position of the Lua stack. Returns * delegates as is. */ internal object GetRawNetObject(LuaState luaState, int index) { int udata = LuaLib.LuaNetRawNetObj(luaState, index); return(udata != -1 ? objects [udata] : null); }