aboutsummaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
Diffstat (limited to 'ltm.h')
-rw-r--r--ltm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ltm.h b/ltm.h
index 64e867b8..adb1b2e3 100644
--- a/ltm.h
+++ b/ltm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.h,v 2.7 2007/09/10 17:59:32 roberto Exp roberto $ 2** $Id: ltm.h,v 2.8 2009/11/19 19:06:52 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*/
@@ -43,7 +43,9 @@ typedef enum {
43 43
44#define fasttm(l,et,e) gfasttm(G(l), et, e) 44#define fasttm(l,et,e) gfasttm(G(l), et, e)
45 45
46LUAI_DDEC const char *const luaT_typenames[]; 46#define typename(x) luaT_typenames_[(x) + 1]
47
48LUAI_DDEC const char *const luaT_typenames_[];
47 49
48 50
49LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename); 51LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);