summaryrefslogtreecommitdiff
path: root/libs/liblua/src/ltm.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/liblua/src/ltm.h')
-rw-r--r--libs/liblua/src/ltm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/liblua/src/ltm.h b/libs/liblua/src/ltm.h
index 180179ce03..63db7269bb 100644
--- a/libs/liblua/src/ltm.h
+++ b/libs/liblua/src/ltm.h
@@ -1,5 +1,5 @@
/*
-** $Id: ltm.h,v 2.21 2014/10/25 11:50:46 roberto Exp $
+** $Id: ltm.h,v 2.22 2016/02/26 19:20:15 roberto Exp $
** Tag methods
** See Copyright Notice in lua.h
*/
@@ -51,11 +51,12 @@ typedef enum {
#define fasttm(l,et,e) gfasttm(G(l), et, e)
#define ttypename(x) luaT_typenames_[(x) + 1]
-#define objtypename(x) ttypename(ttnov(x))
LUAI_DDEC const char *const luaT_typenames_[LUA_TOTALTAGS];
+LUAI_FUNC const char *luaT_objtypename (lua_State *L, const TValue *o);
+
LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o,
TMS event);