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-github-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.tar.gz |
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 @@ /* -** $Id: lfunc.h,v 2.2 2005/01/18 17:18:09 roberto Exp roberto $ +** $Id: lfunc.h,v 2.3 2005/02/18 12:40:02 roberto Exp roberto $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ @@ -18,17 +18,17 @@ cast(int, sizeof(TValue *)*((n)-1))) -Proto *luaF_newproto (lua_State *L); -Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e); -Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e); -UpVal *luaF_newupval (lua_State *L); -UpVal *luaF_findupval (lua_State *L, StkId level); -void luaF_close (lua_State *L, StkId level); -void luaF_freeproto (lua_State *L, Proto *f); -void luaF_freeclosure (lua_State *L, Closure *c); -void luaF_freeupval (lua_State *L, UpVal *uv); - -const char *luaF_getlocalname (const Proto *func, int local_number, int pc); +LUAI_FUNC Proto *luaF_newproto (lua_State *L); +LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e); +LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e); +LUAI_FUNC UpVal *luaF_newupval (lua_State *L); +LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); +LUAI_FUNC void luaF_close (lua_State *L, StkId level); +LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); +LUAI_FUNC void luaF_freeclosure (lua_State *L, Closure *c); +LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv); +LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, + int pc); #endif |