public void PushCFunction(IntPtr val) { LuaBase.PushCFunction(val); }
public void PushCFunction(CFunc val) { var ptr = Marshal.GetFunctionPointerForDelegate(val); LuaBase.PushCFunction(ptr); }