summaryrefslogtreecommitdiff
path: root/lfunc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-22 11:12:07 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-22 11:12:07 -0200
commit29ede6aa13144ff7b69c57a87be1ee93f57ae896 (patch)
treeadcfb5dcff7db55481cd675349e23dec0e63c939 /lfunc.h
parent951897c09319ae5474a4b86bb7d615136577caa0 (diff)
downloadlua-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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lfunc.h b/lfunc.h
index 5681db43..a7ff5fc7 100644
--- a/lfunc.h
+++ b/lfunc.h
@@ -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
15TProtoFunc *luaF_newproto (void); 15TProtoFunc *luaF_newproto (lua_State *L);
16Closure *luaF_newclosure (int nelems); 16Closure *luaF_newclosure (lua_State *L, int nelems);
17void luaF_freeproto (TProtoFunc *f); 17void luaF_freeproto (lua_State *L, TProtoFunc *f);
18void luaF_freeclosure (Closure *c); 18void luaF_freeclosure (lua_State *L, Closure *c);
19 19
20const char *luaF_getlocalname (const TProtoFunc *func, 20const char *luaF_getlocalname (const TProtoFunc *func,
21 int local_number, int line); 21 int local_number, int line);