aboutsummaryrefslogtreecommitdiff
path: root/ldebug.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-25 16:24:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-25 16:24:10 -0300
commit8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc (patch)
tree4ad0b914b84005b706fb6c9af302132d789b133a /ldebug.h
parent8c3c3e769195facf6b8c061f4fab1d86e6606be8 (diff)
downloadlua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.tar.gz
lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.tar.bz2
lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.zip
added LUAI_FUNC to functions not in the API
Diffstat (limited to 'ldebug.h')
-rw-r--r--ldebug.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/ldebug.h b/ldebug.h
index 8f087b52..fcb0b901 100644
--- a/ldebug.h
+++ b/ldebug.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.h,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ 2** $Id: ldebug.h,v 2.2 2004/06/02 19:07:55 roberto Exp roberto $
3** Auxiliary functions from Debug Interface module 3** Auxiliary functions from Debug Interface module
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -18,13 +18,16 @@
18#define resethookcount(L) (L->hookcount = L->basehookcount) 18#define resethookcount(L) (L->hookcount = L->basehookcount)
19 19
20 20
21void luaG_typeerror (lua_State *L, const TValue *o, const char *opname); 21LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o,
22void luaG_concaterror (lua_State *L, StkId p1, StkId p2); 22 const char *opname);
23void luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2); 23LUAI_FUNC void luaG_concaterror (lua_State *L, StkId p1, StkId p2);
24int luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2); 24LUAI_FUNC void luaG_aritherror (lua_State *L, const TValue *p1,
25void luaG_runerror (lua_State *L, const char *fmt, ...); 25 const TValue *p2);
26void luaG_errormsg (lua_State *L); 26LUAI_FUNC int luaG_ordererror (lua_State *L, const TValue *p1,
27int luaG_checkcode (const Proto *pt); 27 const TValue *p2);
28int luaG_checkopenop (Instruction i); 28LUAI_FUNC void luaG_runerror (lua_State *L, const char *fmt, ...);
29LUAI_FUNC void luaG_errormsg (lua_State *L);
30LUAI_FUNC int luaG_checkcode (const Proto *pt);
31LUAI_FUNC int luaG_checkopenop (Instruction i);
29 32
30#endif 33#endif