diff options
Diffstat (limited to 'lstring.h')
| -rw-r--r-- | lstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -19,7 +19,7 @@ | |||
| 19 | #define MEMERRMSG "not enough memory" | 19 | #define MEMERRMSG "not enough memory" |
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | #define sizelstring(l) (sizeof(union UTString) + ((l) + 1) * sizeof(char)) | 22 | #define sizelstring(l) (sizeof(TString) + ((l) + 1) * sizeof(char)) |
| 23 | 23 | ||
| 24 | #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ | 24 | #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ |
| 25 | (sizeof(s)/sizeof(char))-1)) | 25 | (sizeof(s)/sizeof(char))-1)) |
