diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-02-28 14:32:10 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-02-28 14:32:10 -0300 |
commit | 98816d0ce58db9e817129b076723187d690501df (patch) | |
tree | b8cab039ba8aecb51453206447890c05cb618b34 /ltm.h | |
parent | 7482e8f914fbf198af02c2970cf0aadd80740f92 (diff) | |
download | lua-98816d0ce58db9e817129b076723187d690501df.tar.gz lua-98816d0ce58db9e817129b076723187d690501df.tar.bz2 lua-98816d0ce58db9e817129b076723187d690501df.zip |
small problems with 'luaone.c'
Diffstat (limited to 'ltm.h')
-rw-r--r-- | ltm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.h,v 2.9 2010/01/13 16:18:25 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 2.10 2010/04/13 20:48:12 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 | */ |
@@ -46,7 +46,7 @@ typedef enum { | |||
46 | #define ttypename(x) luaT_typenames_[(x) + 1] | 46 | #define ttypename(x) luaT_typenames_[(x) + 1] |
47 | #define objtypename(x) ttypename(ttypenv(x)) | 47 | #define objtypename(x) ttypename(ttypenv(x)) |
48 | 48 | ||
49 | LUAI_DDEC const char *const luaT_typenames_[]; | 49 | LUAI_DDEC const char *const luaT_typenames_[LUA_TOTALTAGS]; |
50 | 50 | ||
51 | 51 | ||
52 | LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename); | 52 | LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename); |