diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-21 17:09:51 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-21 17:09:51 -0300 |
commit | 0df6635711230ab306710056f621b6da59fac5ea (patch) | |
tree | d8ae245fc35157219a54407d9af6a52b42922ce1 /lstring.h | |
parent | ae800656c9f82b54f6fae1497022d3484ad0c920 (diff) | |
download | lua-0df6635711230ab306710056f621b6da59fac5ea.tar.gz lua-0df6635711230ab306710056f621b6da59fac5ea.tar.bz2 lua-0df6635711230ab306710056f621b6da59fac5ea.zip |
"fixed" objects kept in a separated list (instead of being kept in
'allgc' list with a bit marking them)
Diffstat (limited to 'lstring.h')
-rw-r--r-- | lstring.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstring.h,v 1.50 2013/08/16 18:55:49 roberto Exp roberto $ | 2 | ** $Id: lstring.h,v 1.51 2013/08/21 19:21:16 roberto Exp roberto $ |
3 | ** String table (keep all strings handled by Lua) | 3 | ** String table (keep all strings handled by Lua) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -19,8 +19,6 @@ | |||
19 | #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ | 19 | #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ |
20 | (sizeof(s)/sizeof(char))-1)) | 20 | (sizeof(s)/sizeof(char))-1)) |
21 | 21 | ||
22 | #define luaS_fix(s) setbits((s)->tsv.marked, bit2mask(FIXEDBIT, LOCALBIT)) | ||
23 | |||
24 | 22 | ||
25 | /* | 23 | /* |
26 | ** test whether a string is a reserved word | 24 | ** test whether a string is a reserved word |