diff options
Diffstat (limited to 'src/lj_obj.h')
-rw-r--r-- | src/lj_obj.h | 6 |
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. */ | |||
153 | typedef void (*ASMFunction)(void); | 153 | typedef 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 | ||
156 | typedef struct SBuf { | 157 | typedef 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 ----------------------------------------------------- */ |