MCPcopy Create free account
hub / github.com/Tencent/xLua / LoadCS

Function LoadCS

Assets/XLua/Src/StaticLuaCallbacks.cs:647–653  ·  view source on GitHub ↗
(RealStatePtr L)

Source from the content-addressed store, hash-verified

645#endif
646
647 [MonoPInvokeCallback(typeof(LuaCSFunction))]
648 internal static int LoadCS(RealStatePtr L)
649 {
650 LuaAPI.xlua_pushasciistring(L, LuaEnv.CSHARP_NAMESPACE);
651 LuaAPI.lua_rawget(L, LuaIndexes.LUA_REGISTRYINDEX);
652 return 1;
653 }
654
655 [MonoPInvokeCallback(typeof(LuaCSFunction))]
656 internal static int LoadBuiltinLib(RealStatePtr L)

Callers

nothing calls this directly

Calls 2

xlua_pushasciistringMethod · 0.80
lua_rawgetMethod · 0.80

Tested by

no test coverage detected