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 /lfunc.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 '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 |
