internal static int LuaGetArgCount(IntPtr parLuaState) { if (LuaGetArgCountFunction == null) { LuaGetArgCountFunction = Memory.Reader.RegisterDelegate <LuaGetArgCountDelegate>(funcs.LuaGetArgCount); } return(MainThread.Instance.Invoke(() => LuaGetArgCountFunction(parLuaState))); }
internal static int LuaGetArgCount(IntPtr parLuaState) { if (LuaGetArgCountFunction == null) { LuaGetArgCountFunction = Memory.Reader.RegisterDelegate <LuaGetArgCountDelegate>(funcs.LuaGetArgCount); } return(LuaGetArgCountFunction(parLuaState)); }