示例#1
0
 public static Func <T1, R> ToFunc <T1, R>(this IntPtr L, Func <T1, R> caller)
 {
     return(LuaFunc <T1, R> .Create(L, caller));
 }
示例#2
0
 public static Func <T1, T2, T3, T4, T5, T6, T7, R> ToFunc <T1, T2, T3, T4, T5, T6, T7, R>(this IntPtr L, Func <T1, T2, T3, T4, T5, T6, T7, R> caller)
 {
     return(LuaFunc <T1, T2, T3, T4, T5, T6, T7, R> .Create(L, caller));
 }
示例#3
0
        public static Func <T> Create(IntPtr luaState, Func <T> caller)
        {
            var instance = new LuaFunc <T>(luaState);

            return(instance.Create(caller));
        }