aboutsummaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-09 18:22:29 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-09 18:22:29 -0200
commitd2e340f467a46017fa3526074c1756124e569880 (patch)
treee5b08773a0f0734193b0c1c435fab8ee243f08dc /ltm.h
parent6875fdc8be9029b1bb29379c59d5409a0df42c10 (diff)
downloadlua-d2e340f467a46017fa3526074c1756124e569880.tar.gz
lua-d2e340f467a46017fa3526074c1756124e569880.tar.bz2
lua-d2e340f467a46017fa3526074c1756124e569880.zip
string pointers are always fully aligned
Diffstat (limited to 'ltm.h')
-rw-r--r--ltm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltm.h b/ltm.h
index 11d51ccf..13759c5c 100644
--- a/ltm.h
+++ b/ltm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.h,v 1.21 2001/01/24 16:20:54 roberto Exp roberto $ 2** $Id: ltm.h,v 1.22 2001/01/25 16:45:36 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*/
@@ -62,7 +62,7 @@ struct TM {
62#define luaT_gettm(G,tag,event) (G->TMtable[tag].method[event]) 62#define luaT_gettm(G,tag,event) (G->TMtable[tag].method[event])
63#define luaT_gettmbyObj(G,o,e) (luaT_gettm((G),luaT_tag(o),(e))) 63#define luaT_gettmbyObj(G,o,e) (luaT_gettm((G),luaT_tag(o),(e)))
64 64
65#define basictypename(G, t) (G->TMtable[t].name->str) 65#define basictypename(G, t) getstr(G->TMtable[t].name)
66 66
67 67
68#define validtag(G,t) (NUM_TAGS <= (t) && (t) < G->ntag) 68#define validtag(G,t) (NUM_TAGS <= (t) && (t) < G->ntag)