public static void Push(IntPtr L, Delegate ev) { if (ev == null) { LuaDLL.lua_pushnil(L); } else { int delegateMetatable = LuaStatic.GetDelegateMetatable(L); PushUserData(L, ev, delegateMetatable); } }