diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-14 16:42:57 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-14 16:42:57 -0200 |
commit | 12b45c2df21beac17d49a92a4e098cb212238c1a (patch) | |
tree | 01cc8c3b861bbf952ddabce68bc556f45d764399 /lstring.c | |
parent | 1b15206cf9aa7005fc3d48f78f60f66838f10eb5 (diff) | |
download | lua-12b45c2df21beac17d49a92a4e098cb212238c1a.tar.gz lua-12b45c2df21beac17d49a92a4e098cb212238c1a.tar.bz2 lua-12b45c2df21beac17d49a92a4e098cb212238c1a.zip |
luaS_newfixedstring renamed to luaS_newfixed
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; |