diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-07-30 19:00:50 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-07-30 19:00:50 -0300 |
| commit | 0892f0e5b75c51f1fee07276a3ba13301b83409e (patch) | |
| tree | 9f3b9ec92f26c05a85c826ffc5f803fda2f48867 /tree.c | |
| parent | 1d7857bc635c0bfe7c5b1f325d31feb7660e9a5a (diff) | |
| download | lua-github-0892f0e5b75c51f1fee07276a3ba13301b83409e.tar.gz | |
BIG CHANGE: functions have their own "constant table".
Diffstat (limited to 'tree.c')
| -rw-r--r-- | tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ ** TecCGraf - PUC-Rio */ -char *rcs_tree="$Id: tree.c,v 1.27 1997/06/09 17:28:14 roberto Exp roberto $"; +char *rcs_tree="$Id: tree.c,v 1.28 1997/06/11 14:24:40 roberto Exp roberto $"; #include <string.h> @@ -149,7 +149,7 @@ TaggedString *luaI_createudata (void *udata, int tag) return insert(udata, tag, &string_root[(unsigned)udata%NUM_HASHS]); } -TaggedString *lua_createstring (char *str) +TaggedString *luaI_createstring (char *str) { return insert(str, LUA_T_STRING, &string_root[(unsigned)str[0]%NUM_HASHS]); } |
