aboutsummaryrefslogtreecommitdiff
path: root/lfunc.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 /lfunc.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 'lfunc.h')
-rw-r--r--lfunc.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lfunc.h b/lfunc.h
index a69b5327..6f19e2fa 100644
--- a/lfunc.h
+++ b/lfunc.h
@@ -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
21Proto *luaF_newproto (lua_State *L); 21LUAI_FUNC Proto *luaF_newproto (lua_State *L);
22Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e); 22LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e);
23Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e); 23LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e);
24UpVal *luaF_newupval (lua_State *L); 24LUAI_FUNC UpVal *luaF_newupval (lua_State *L);
25UpVal *luaF_findupval (lua_State *L, StkId level); 25LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
26void luaF_close (lua_State *L, StkId level); 26LUAI_FUNC void luaF_close (lua_State *L, StkId level);
27void luaF_freeproto (lua_State *L, Proto *f); 27LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
28void luaF_freeclosure (lua_State *L, Closure *c); 28LUAI_FUNC void luaF_freeclosure (lua_State *L, Closure *c);
29void luaF_freeupval (lua_State *L, UpVal *uv); 29LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv);
30 30LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number,
31const char *luaF_getlocalname (const Proto *func, int local_number, int pc); 31 int pc);
32 32
33 33
34#endif 34#endif