diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-22 11:12:07 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-22 11:12:07 -0200 |
commit | 29ede6aa13144ff7b69c57a87be1ee93f57ae896 (patch) | |
tree | adcfb5dcff7db55481cd675349e23dec0e63c939 /lfunc.h | |
parent | 951897c09319ae5474a4b86bb7d615136577caa0 (diff) | |
download | lua-29ede6aa13144ff7b69c57a87be1ee93f57ae896.tar.gz lua-29ede6aa13144ff7b69c57a87be1ee93f57ae896.tar.bz2 lua-29ede6aa13144ff7b69c57a87be1ee93f57ae896.zip |
first implementation of multiple states (reentrant code).
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); |