eris: add general purpose 'flag bits' to lua tables'

This commit is contained in:
2021-07-25 20:34:38 -04:00
parent 9f342854e1
commit bcd5f044d2
5 changed files with 50 additions and 9 deletions

View File

@@ -556,6 +556,7 @@ typedef struct Node {
typedef struct Table {
CommonHeader;
lu_byte flags; /* 1<<p means tagmethod(p) is not present */
lu_byte flagbits; /* flag bits reserved for the user */
lu_byte lsizenode; /* log2 of size of `node' array */
int sizearray; /* size of `array' array */
int nnkeys; /* number of non-nil keys in both array and hash */