diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-01-10 10:50:00 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-01-10 10:50:00 -0200 |
commit | dd1221582bc7c0c2ec508b5bad4086f8801b61a8 (patch) | |
tree | 36c896b2dc704cc28edc59c92b83f00319e4e9ea /ltm.c | |
parent | bfdcbbcd76c7187022fe2d35675de0b1c92eeadf (diff) | |
download | lua-dd1221582bc7c0c2ec508b5bad4086f8801b61a8.tar.gz lua-dd1221582bc7c0c2ec508b5bad4086f8801b61a8.tar.bz2 lua-dd1221582bc7c0c2ec508b5bad4086f8801b61a8.zip |
details
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 2.6 2005/05/20 15:53:42 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 2.7 2005/12/22 16:19:56 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 | */ |
@@ -70,6 +70,6 @@ const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { | |||
70 | default: | 70 | default: |
71 | mt = G(L)->mt[ttype(o)]; | 71 | mt = G(L)->mt[ttype(o)]; |
72 | } | 72 | } |
73 | return (mt ? luaH_getstr(mt, G(L)->tmname[event]) : &luaO_nilobject); | 73 | return (mt ? luaH_getstr(mt, G(L)->tmname[event]) : luaO_nilobject); |
74 | } | 74 | } |
75 | 75 | ||