summaryrefslogtreecommitdiff
path: root/ldo.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 /ldo.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 'ldo.h')
-rw-r--r--ldo.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/ldo.h b/ldo.h
index 665934bd..e16e53c6 100644
--- a/ldo.h
+++ b/ldo.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.h,v 2.2 2004/05/14 19:25:09 roberto Exp roberto $ 2** $Id: ldo.h,v 2.3 2004/09/08 14:23:09 roberto Exp roberto $
3** Stack and Call structure of Lua 3** Stack and Call structure of Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -47,20 +47,20 @@
47/* type of protected functions, to be ran by `runprotected' */ 47/* type of protected functions, to be ran by `runprotected' */
48typedef void (*Pfunc) (lua_State *L, void *ud); 48typedef void (*Pfunc) (lua_State *L, void *ud);
49 49
50void luaD_resetprotection (lua_State *L); 50LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name);
51int luaD_protectedparser (lua_State *L, ZIO *z, const char *name); 51LUAI_FUNC void luaD_callhook (lua_State *L, int event, int line);
52void luaD_callhook (lua_State *L, int event, int line); 52LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
53int luaD_precall (lua_State *L, StkId func, int nresults); 53LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);
54void luaD_call (lua_State *L, StkId func, int nResults); 54LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u,
55int luaD_pcall (lua_State *L, Pfunc func, void *u, 55 ptrdiff_t oldtop, ptrdiff_t ef);
56 ptrdiff_t oldtop, ptrdiff_t ef); 56LUAI_FUNC void luaD_poscall (lua_State *L, int wanted, StkId firstResult);
57void luaD_poscall (lua_State *L, int wanted, StkId firstResult); 57LUAI_FUNC void luaD_reallocCI (lua_State *L, int newsize);
58void luaD_reallocCI (lua_State *L, int newsize); 58LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize);
59void luaD_reallocstack (lua_State *L, int newsize); 59LUAI_FUNC void luaD_growstack (lua_State *L, int n);
60void luaD_growstack (lua_State *L, int n);
61 60
62void luaD_throw (lua_State *L, int errcode); 61LUAI_FUNC void luaD_throw (lua_State *L, int errcode);
63int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud); 62LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud);
64 63
65 64
66#endif 65#endif
66