From 29ede6aa13144ff7b69c57a87be1ee93f57ae896 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 22 Nov 1999 11:12:07 -0200 Subject: first implementation of multiple states (reentrant code). --- lfunc.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lfunc.h') diff --git a/lfunc.h b/lfunc.h index 5681db43..a7ff5fc7 100644 --- a/lfunc.h +++ b/lfunc.h @@ -1,5 +1,5 @@ /* -** $Id: lfunc.h,v 1.7 1999/10/04 17:51:04 roberto Exp roberto $ +** $Id: lfunc.h,v 1.8 1999/10/14 19:46:57 roberto Exp roberto $ ** Lua Function structures ** See Copyright Notice in lua.h */ @@ -12,10 +12,10 @@ -TProtoFunc *luaF_newproto (void); -Closure *luaF_newclosure (int nelems); -void luaF_freeproto (TProtoFunc *f); -void luaF_freeclosure (Closure *c); +TProtoFunc *luaF_newproto (lua_State *L); +Closure *luaF_newclosure (lua_State *L, int nelems); +void luaF_freeproto (lua_State *L, TProtoFunc *f); +void luaF_freeclosure (lua_State *L, Closure *c); const char *luaF_getlocalname (const TProtoFunc *func, int local_number, int line); -- cgit v1.2.3-55-g6feb