コード例 #1
0
 internal static int LuaGetArgCount(IntPtr parLuaState)
 {
     if (LuaGetArgCountFunction == null)
     {
         LuaGetArgCountFunction = Memory.Reader.RegisterDelegate <LuaGetArgCountDelegate>(funcs.LuaGetArgCount);
     }
     return(MainThread.Instance.Invoke(() => LuaGetArgCountFunction(parLuaState)));
 }
コード例 #2
0
 internal static int LuaGetArgCount(IntPtr parLuaState)
 {
     if (LuaGetArgCountFunction == null)
     {
         LuaGetArgCountFunction = Memory.Reader.RegisterDelegate <LuaGetArgCountDelegate>(funcs.LuaGetArgCount);
     }
     return(LuaGetArgCountFunction(parLuaState));
 }