diff options
Diffstat (limited to 'lstring.c')
-rw-r--r-- | lstring.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstring.c,v 1.29 1999/11/22 18:24:50 roberto Exp roberto $ | 2 | ** $Id: lstring.c,v 1.30 1999/11/26 18:59:20 roberto Exp roberto $ |
3 | ** String table (keeps all strings handled by Lua) | 3 | ** String table (keeps all strings handled by Lua) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -154,7 +154,7 @@ TaggedString *luaS_new (lua_State *L, const char *str) { | |||
154 | return luaS_newlstr(L, str, strlen(str)); | 154 | return luaS_newlstr(L, str, strlen(str)); |
155 | } | 155 | } |
156 | 156 | ||
157 | TaggedString *luaS_newfixedstring (lua_State *L, const char *str) { | 157 | TaggedString *luaS_newfixed (lua_State *L, const char *str) { |
158 | TaggedString *ts = luaS_new(L, str); | 158 | TaggedString *ts = luaS_new(L, str); |
159 | if (ts->marked == 0) ts->marked = FIXMARK; /* avoid GC */ | 159 | if (ts->marked == 0) ts->marked = FIXMARK; /* avoid GC */ |
160 | return ts; | 160 | return ts; |