diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-25 16:24:10 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-25 16:24:10 -0300 |
commit | 8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc (patch) | |
tree | 4ad0b914b84005b706fb6c9af302132d789b133a /ldo.h | |
parent | 8c3c3e769195facf6b8c061f4fab1d86e6606be8 (diff) | |
download | lua-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.h | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -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' */ |
48 | typedef void (*Pfunc) (lua_State *L, void *ud); | 48 | typedef void (*Pfunc) (lua_State *L, void *ud); |
49 | 49 | ||
50 | void luaD_resetprotection (lua_State *L); | 50 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name); |
51 | int luaD_protectedparser (lua_State *L, ZIO *z, const char *name); | 51 | LUAI_FUNC void luaD_callhook (lua_State *L, int event, int line); |
52 | void luaD_callhook (lua_State *L, int event, int line); | 52 | LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); |
53 | int luaD_precall (lua_State *L, StkId func, int nresults); | 53 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); |
54 | void luaD_call (lua_State *L, StkId func, int nResults); | 54 | LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, |
55 | int luaD_pcall (lua_State *L, Pfunc func, void *u, | 55 | ptrdiff_t oldtop, ptrdiff_t ef); |
56 | ptrdiff_t oldtop, ptrdiff_t ef); | 56 | LUAI_FUNC void luaD_poscall (lua_State *L, int wanted, StkId firstResult); |
57 | void luaD_poscall (lua_State *L, int wanted, StkId firstResult); | 57 | LUAI_FUNC void luaD_reallocCI (lua_State *L, int newsize); |
58 | void luaD_reallocCI (lua_State *L, int newsize); | 58 | LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); |
59 | void luaD_reallocstack (lua_State *L, int newsize); | 59 | LUAI_FUNC void luaD_growstack (lua_State *L, int n); |
60 | void luaD_growstack (lua_State *L, int n); | ||
61 | 60 | ||
62 | void luaD_throw (lua_State *L, int errcode); | 61 | LUAI_FUNC void luaD_throw (lua_State *L, int errcode); |
63 | int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud); | 62 | LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud); |
64 | 63 | ||
65 | 64 | ||
66 | #endif | 65 | #endif |
66 | |||