diff options
author | Mike Pall <mike> | 2021-08-12 21:10:13 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2021-08-12 21:27:58 +0200 |
commit | 15ed84bd499b3ecdba9f431f2d24696a313227e4 (patch) | |
tree | 637662b1edce646fec939e8bf75685a09e374656 /src/lj_buf.h | |
parent | 983d66b8c5032b421e0f5fe8d39e9930bceb7031 (diff) | |
download | luajit-15ed84bd499b3ecdba9f431f2d24696a313227e4.tar.gz luajit-15ed84bd499b3ecdba9f431f2d24696a313227e4.tar.bz2 luajit-15ed84bd499b3ecdba9f431f2d24696a313227e4.zip |
String buffers, part 4a: Add metatable serialization dictionary.
Sponsored by fmad.io.
Diffstat (limited to 'src/lj_buf.h')
-rw-r--r-- | src/lj_buf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_buf.h b/src/lj_buf.h index 4ace2685..e2ac922e 100644 --- a/src/lj_buf.h +++ b/src/lj_buf.h | |||
@@ -27,7 +27,8 @@ typedef struct SBufExt { | |||
27 | MRef bsb; /* Borrowed string buffer. */ | 27 | MRef bsb; /* Borrowed string buffer. */ |
28 | }; | 28 | }; |
29 | char *r; /* Read pointer. */ | 29 | char *r; /* Read pointer. */ |
30 | GCRef dict; /* Serialization string dictionary table. */ | 30 | GCRef dict_str; /* Serialization string dictionary table. */ |
31 | GCRef dict_mt; /* Serialization metatable dictionary table. */ | ||
31 | int depth; /* Remaining recursion depth. */ | 32 | int depth; /* Remaining recursion depth. */ |
32 | } SBufExt; | 33 | } SBufExt; |
33 | 34 | ||