static int IntToEnum(IntPtr L) { int arg0 = (int)LuaDLL.lua_tonumber(L, 1); LuaEngine.InjectType o = (LuaEngine.InjectType)arg0; ToLua.Push(L, o); return(1); }
static void Push(IntPtr L, LuaEngine.InjectType arg) { ToLua.Push(L, arg); }