[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: ctb macro and BIT_ISCOLLECTABLE
- From: Dibyendu Majumdar <mobile@...>
- Date: Thu, 4 Jun 2015 00:15:38 +0100
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