first version of Cclosures.

This commit is contained in:
Roberto Ierusalimschy
1997-10-24 15:17:24 -02:00
parent 0cb3843956
commit e78cf96c97
15 changed files with 179 additions and 151 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lfunc.h,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $
** $Id: lfunc.h,v 1.2 1997/09/26 16:46:20 roberto Exp roberto $
** Lua Function structures
** See Copyright Notice in lua.h
*/
@@ -19,6 +19,7 @@ TProtoFunc *luaF_newproto (void);
Closure *luaF_newclosure (int nelems);
void luaF_freeproto (TProtoFunc *l);
void luaF_freeclosure (Closure *l);
void luaF_simpleclosure (TObject *o);
char *luaF_getlocalname (TProtoFunc *func, int local_number, int line);