public static LuaStatePtr NewState(LuaAlloc f, IntPtr ud) { System.GC.KeepAlive(f); return(LuaDelegates.lua_newstate(f, ud)); }