diff options
Diffstat (limited to 'lfunc.h')
-rw-r--r-- | lfunc.h | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lfunc.h,v 2.2 2005/01/18 17:18:09 roberto Exp roberto $ | 2 | ** $Id: lfunc.h,v 2.3 2005/02/18 12:40:02 roberto Exp roberto $ |
3 | ** Auxiliary functions to manipulate prototypes and closures | 3 | ** Auxiliary functions to manipulate prototypes and closures |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -18,17 +18,17 @@ | |||
18 | cast(int, sizeof(TValue *)*((n)-1))) | 18 | cast(int, sizeof(TValue *)*((n)-1))) |
19 | 19 | ||
20 | 20 | ||
21 | Proto *luaF_newproto (lua_State *L); | 21 | LUAI_FUNC Proto *luaF_newproto (lua_State *L); |
22 | Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e); | 22 | LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e); |
23 | Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e); | 23 | LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e); |
24 | UpVal *luaF_newupval (lua_State *L); | 24 | LUAI_FUNC UpVal *luaF_newupval (lua_State *L); |
25 | UpVal *luaF_findupval (lua_State *L, StkId level); | 25 | LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); |
26 | void luaF_close (lua_State *L, StkId level); | 26 | LUAI_FUNC void luaF_close (lua_State *L, StkId level); |
27 | void luaF_freeproto (lua_State *L, Proto *f); | 27 | LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); |
28 | void luaF_freeclosure (lua_State *L, Closure *c); | 28 | LUAI_FUNC void luaF_freeclosure (lua_State *L, Closure *c); |
29 | void luaF_freeupval (lua_State *L, UpVal *uv); | 29 | LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv); |
30 | 30 | LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, | |
31 | const char *luaF_getlocalname (const Proto *func, int local_number, int pc); | 31 | int pc); |
32 | 32 | ||
33 | 33 | ||
34 | #endif | 34 | #endif |