diff options
Diffstat (limited to 'lfunc.h')
-rw-r--r-- | lfunc.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lfunc.h,v 1.7 1999/10/04 17:51:04 roberto Exp roberto $ | 2 | ** $Id: lfunc.h,v 1.8 1999/10/14 19:46:57 roberto Exp roberto $ |
3 | ** Lua Function structures | 3 | ** Lua Function structures |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -12,10 +12,10 @@ | |||
12 | 12 | ||
13 | 13 | ||
14 | 14 | ||
15 | TProtoFunc *luaF_newproto (void); | 15 | TProtoFunc *luaF_newproto (lua_State *L); |
16 | Closure *luaF_newclosure (int nelems); | 16 | Closure *luaF_newclosure (lua_State *L, int nelems); |
17 | void luaF_freeproto (TProtoFunc *f); | 17 | void luaF_freeproto (lua_State *L, TProtoFunc *f); |
18 | void luaF_freeclosure (Closure *c); | 18 | void luaF_freeclosure (lua_State *L, Closure *c); |
19 | 19 | ||
20 | const char *luaF_getlocalname (const TProtoFunc *func, | 20 | const char *luaF_getlocalname (const TProtoFunc *func, |
21 | int local_number, int line); | 21 | int local_number, int line); |