diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-30 13:41:51 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-30 13:41:51 -0300 |
commit | e2c60eda16d4aff7ea42513ba7c4d33ac45d9e99 (patch) | |
tree | e998bd030675e7d39d4bc0fd2ae94ecb28433fd2 /ltm.c | |
parent | a69356e9e0a7525b1cebadc928a0efcce8c39b46 (diff) | |
download | lua-e2c60eda16d4aff7ea42513ba7c4d33ac45d9e99.tar.gz lua-e2c60eda16d4aff7ea42513ba7c4d33ac45d9e99.tar.bz2 lua-e2c60eda16d4aff7ea42513ba7c4d33ac45d9e99.zip |
`luaT_validevent' is exported, because compatibility module for fallbacks
uses it.
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.37 2000/03/27 20:10:21 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 1.38 2000/03/29 20:19:20 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 | */ |
@@ -52,7 +52,7 @@ static const char luaT_validevents[NUM_TAGS][IM_N] = { | |||
52 | {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} /* TAG_NIL */ | 52 | {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} /* TAG_NIL */ |
53 | }; | 53 | }; |
54 | 54 | ||
55 | static int luaT_validevent (int t, int e) { /* ORDER LUA_T */ | 55 | int luaT_validevent (int t, int e) { /* ORDER LUA_T */ |
56 | return (t > TAG_NIL) ? 1 : luaT_validevents[t][e]; | 56 | return (t > TAG_NIL) ? 1 : luaT_validevents[t][e]; |
57 | } | 57 | } |
58 | 58 | ||