added LUAI_FUNC to functions not in the API

This commit is contained in:
Roberto Ierusalimschy
2005-04-25 16:24:10 -03:00
parent 8c3c3e7691
commit 8718fda9b2
18 changed files with 180 additions and 161 deletions

13
ltm.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: ltm.h,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $
** $Id: ltm.h,v 2.2 2005/03/08 18:00:16 roberto Exp roberto $
** Tag methods
** See Copyright Notice in lua.h
*/
@@ -42,11 +42,12 @@ typedef enum {
#define fasttm(l,et,e) gfasttm(G(l), et, e)
const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event);
void luaT_init (lua_State *L);
extern const char *const luaT_typenames[];
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);
LUAI_FUNC void luaT_init (lua_State *L);
#endif