aboutsummaryrefslogtreecommitdiff
path: root/src/lj_obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_obj.h')
-rw-r--r--src/lj_obj.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h
index 4d7b9262..33237119 100644
--- a/src/lj_obj.h
+++ b/src/lj_obj.h
@@ -124,6 +124,7 @@ typedef struct SBuf {
124 MRef p; /* String buffer pointer. */ 124 MRef p; /* String buffer pointer. */
125 MRef e; /* String buffer end pointer. */ 125 MRef e; /* String buffer end pointer. */
126 MRef b; /* String buffer base. */ 126 MRef b; /* String buffer base. */
127 MRef L; /* lua_State, used for buffer resizing. */
127} SBuf; 128} SBuf;
128 129
129/* -- Tags and values ----------------------------------------------------- */ 130/* -- Tags and values ----------------------------------------------------- */
@@ -516,7 +517,7 @@ typedef struct global_State {
516 lua_Alloc allocf; /* Memory allocator. */ 517 lua_Alloc allocf; /* Memory allocator. */
517 void *allocd; /* Memory allocator data. */ 518 void *allocd; /* Memory allocator data. */
518 GCState gc; /* Garbage collector. */ 519 GCState gc; /* Garbage collector. */
519 SBuf tmpbuf; /* Temporary buffer for string concatenation. */ 520 SBuf tmpbuf; /* Temporary string buffer. */
520 Node nilnode; /* Fallback 1-element hash part (nil key and value). */ 521 Node nilnode; /* Fallback 1-element hash part (nil key and value). */
521 GCstr strempty; /* Empty string. */ 522 GCstr strempty; /* Empty string. */
522 uint8_t stremptyz; /* Zero terminator of empty string. */ 523 uint8_t stremptyz; /* Zero terminator of empty string. */