1
0
mirror of https://github.com/lua/lua.git synced 2025-01-28 06:03:00 +08:00
lua/lfunc.h

28 lines
508 B
C
Raw Normal View History

1997-09-16 16:25:59 -03:00
/*
1997-10-24 15:17:24 -02:00
** $Id: lfunc.h,v 1.2 1997/09/26 16:46:20 roberto Exp roberto $
1997-09-16 16:25:59 -03:00
** Lua Function structures
** See Copyright Notice in lua.h
*/
#ifndef lfunc_h
#define lfunc_h
#include "lobject.h"
1997-09-26 13:46:20 -03:00
extern GCnode luaF_root;
extern GCnode luaF_rootcl;
1997-09-16 16:25:59 -03:00
TProtoFunc *luaF_newproto (void);
Closure *luaF_newclosure (int nelems);
void luaF_freeproto (TProtoFunc *l);
void luaF_freeclosure (Closure *l);
1997-10-24 15:17:24 -02:00
void luaF_simpleclosure (TObject *o);
1997-09-16 16:25:59 -03:00
char *luaF_getlocalname (TProtoFunc *func, int local_number, int line);
#endif