Example #1
0
    static int _CreateMyFrameWork_Util(IntPtr L)
    {
        int count = LuaDLL.lua_gettop(L);

        if (count == 0)
        {
            MyFrameWork.Util obj = new MyFrameWork.Util();
            ToLua.PushObject(L, obj);
            return(1);
        }
        else
        {
            LuaDLL.luaL_error(L, "invalid arguments to method: MyFrameWork.Util.New");
        }

        return(0);
    }