diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-09 18:22:29 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-09 18:22:29 -0200 |
commit | d2e340f467a46017fa3526074c1756124e569880 (patch) | |
tree | e5b08773a0f0734193b0c1c435fab8ee243f08dc /ltm.c | |
parent | 6875fdc8be9029b1bb29379c59d5409a0df42c10 (diff) | |
download | lua-d2e340f467a46017fa3526074c1756124e569880.tar.gz lua-d2e340f467a46017fa3526074c1756124e569880.tar.bz2 lua-d2e340f467a46017fa3526074c1756124e569880.zip |
string pointers are always fully aligned
Diffstat (limited to 'ltm.c')
-rw-r--r-- | ltm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.c,v 1.64 2001/01/26 11:45:51 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 1.65 2001/02/02 15:13:05 roberto Exp roberto $ |
3 | ** Tag methods | 3 | ** Tag methods |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -150,7 +150,7 @@ const char *luaT_typename (global_State *G, const TObject *o) { | |||
150 | ts = G->TMtable[tag].name; | 150 | ts = G->TMtable[tag].name; |
151 | if (ts == NULL) | 151 | if (ts == NULL) |
152 | ts = G->TMtable[t].name; | 152 | ts = G->TMtable[t].name; |
153 | return ts->str; | 153 | return getstr(ts); |
154 | } | 154 | } |
155 | 155 | ||
156 | 156 | ||