aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstring.h')
-rw-r--r--lstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lstring.h b/lstring.h
index e7e4aedc..b2550218 100644
--- a/lstring.h
+++ b/lstring.h
@@ -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))