Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2009, 4:01:42 PM (16 years ago)
Author:
rgrieder
Message:

Tolua update to v1.0.93 is not working properly and I would not know how to fix it. I have created a patch however, just in case we need it after all.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/tolua/lua/enumerate.lua

    r3127 r3138  
    2222-- register enumeration
    2323function classEnumerate:register (pre)
    24     if not self:check_public_access() then
    25         return
    26     end
    2724    pre = pre or ''
    2825    local nspace = getnamespace(classContainer.curr)
    2926    local i=1
    3027    while self[i] do
    31         if self.lnames[i] and self.lnames[i] ~= "" then
    32             output(pre..'tolua_constant(tolua_S,"'..self.lnames[i]..'",'..nspace..self[i]..');')
    33         end
     28        output(pre..'tolua_constant(tolua_S,"'..self.lnames[i]..'",'..nspace..self[i]..');')
    3429        i = i+1
    3530    end
     
    6156            Variable("tolua_readonly int "..varname)
    6257        end
    63     end
    64     local parent = classContainer.curr
    65     if parent then
    66         t.access = parent.curr_member_access
    67         t.global_access = t:check_public_access()
    6858    end
    6959    return t
Note: See TracChangeset for help on using the changeset viewer.