public static Func <T1, R> ToFunc <T1, R>(this IntPtr L, Func <T1, R> caller) { return(LuaFunc <T1, R> .Create(L, caller)); }
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)); }
public static Func <T> Create(IntPtr luaState, Func <T> caller) { var instance = new LuaFunc <T>(luaState); return(instance.Create(caller)); }