functions 'get_equalTM' and 'call_orderTM' moved to other files

to make 'lvm.c' smaller
This commit is contained in:
Roberto Ierusalimschy
2013-04-25 13:07:52 -03:00
parent 32bf6c9b27
commit 9600c60df3
3 changed files with 36 additions and 31 deletions

7
ltm.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: ltm.h,v 2.12 2013/04/12 19:07:09 roberto Exp roberto $
** $Id: ltm.h,v 2.13 2013/04/25 15:59:42 roberto Exp roberto $
** Tag methods
** See Copyright Notice in lua.h
*/
@@ -58,5 +58,10 @@ LUAI_FUNC void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1,
const TValue *p2, TValue *p3, int hasres);
LUAI_FUNC int luaT_callbinTM (lua_State *L, const TValue *p1, const TValue *p2,
StkId res, TMS event);
LUAI_FUNC const TValue *luaT_getequalTM (lua_State *L, Table *mt1, Table *mt2);
LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1,
const TValue *p2, TMS event);
#endif