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.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h
index 11434ce2..2150e4e2 100644
--- a/src/lj_obj.h
+++ b/src/lj_obj.h
@@ -153,11 +153,9 @@ typedef int32_t BCLine; /* Bytecode line number. */
153typedef void (*ASMFunction)(void); 153typedef void (*ASMFunction)(void);
154 154
155/* Resizable string buffer. Need this here, details in lj_buf.h. */ 155/* Resizable string buffer. Need this here, details in lj_buf.h. */
156#define SBufHeader char *w, *e, *b; MRef L
156typedef struct SBuf { 157typedef struct SBuf {
157 MRef p; /* String buffer pointer. */ 158 SBufHeader;
158 MRef e; /* String buffer end pointer. */
159 MRef b; /* String buffer base. */
160 MRef L; /* lua_State, used for buffer resizing. */
161} SBuf; 159} SBuf;
162 160
163/* -- Tags and values ----------------------------------------------------- */ 161/* -- Tags and values ----------------------------------------------------- */