lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hello Lua,

      I found that the max number of upvalue for a cclosure must less
      than 256, because ClosureHeader use a byte for nupvalyes.

#define ClosureHeader \
        CommonHeader; lu_byte isC; lu_byte nupvalues; GCObject *gclist; \
        struct Table *env      

     But the Reference Manual doesn't tell us this limit.
     I think writing this into the manual will be better, IMHO. :)

Best regards,

[This will pass too]