lua-users home
lua-l archive

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


Hi,

Is there a reason why the ctb macro is used instead of ensuring that
the collectible types have the BIT_ISCOLLECTABLE bit set by default?
That is why not:

#define LUA_TTABLE (5|BIT_ISCOLLECTABLE)

Is there a scenario where a value's type could be just LUA_TTABLE
without the collectible flag set?

Thanks and Regards
Dibyendu