Go to the documentation of this file.
16 #define sizestring(l) (cast(lu_mem, sizeof(union TString))+ \
17 (cast(lu_mem, l)+1)*sizeof(char))
19 #define sizeudata(l) (cast(lu_mem, sizeof(union Udata))+(l))
21 #define luaS_new(L, s) (luaS_newlstr(L, s, strlen(s)))
22 #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \
23 (sizeof(s)/sizeof(char))-1))
25 #define luaS_fix(s) ((s)->tsv.marked |= (1<<4))