summaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-30 13:41:51 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-30 13:41:51 -0300
commite2c60eda16d4aff7ea42513ba7c4d33ac45d9e99 (patch)
treee998bd030675e7d39d4bc0fd2ae94ecb28433fd2 /ltm.c
parenta69356e9e0a7525b1cebadc928a0efcce8c39b46 (diff)
downloadlua-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltm.c b/ltm.c
index 3bf2f1fd..29053d94 100644
--- a/ltm.c
+++ b/ltm.c
@@ -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
55static int luaT_validevent (int t, int e) { /* ORDER LUA_T */ 55int 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