Refactor table traversal.
Sponsored by OpenResty Inc.
This commit is contained in:
@@ -284,6 +284,9 @@ typedef const TValue cTValue;
|
||||
#define LJ_TISGCV (LJ_TSTR+1)
|
||||
#define LJ_TISTABUD LJ_TTAB
|
||||
|
||||
/* Type marker for slot holding a traversal index. Must be lightuserdata. */
|
||||
#define LJ_KEYINDEX 0xfffe7fffu
|
||||
|
||||
#if LJ_GC64
|
||||
#define LJ_GCVMASK (((uint64_t)1 << 47) - 1)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user