示例#1
0
    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);
    }
示例#2
0
 static void Push(IntPtr L, LuaEngine.InjectType arg)
 {
     ToLua.Push(L, arg);
 }