rpm  4.5
lfunc.h
Go to the documentation of this file.
1 /*
2 ** $Id: lfunc.h,v 1.1 2004/03/16 21:58:30 niemeyer Exp $
3 ** Auxiliary functions to manipulate prototypes and closures
4 ** See Copyright Notice in lua.h
5 */
6 
7 #ifndef lfunc_h
8 #define lfunc_h
9 
10 
11 #include "lobject.h"
12 
13 
14 /*@null@*/
16  /*@modifies L @*/;
17 /*@null@*/
18 Closure *luaF_newCclosure (lua_State *L, int nelems)
19  /*@modifies L @*/;
20 /*@null@*/
21 Closure *luaF_newLclosure (lua_State *L, int nelems, TObject *e)
22  /*@modifies L @*/;
23 /*@null@*/
25  /*@modifies L @*/;
26 void luaF_close (lua_State *L, StkId level)
27  /*@modifies L @*/;
28 void luaF_freeproto (lua_State *L, Proto *f)
29  /*@modifies L, f @*/;
31  /*@modifies L, c @*/;
32 
33 /*@observer@*/ /*@null@*/
34 const char *luaF_getlocalname (const Proto *func, int local_number, int pc)
35  /*@*/;
36 
37 
38 #endif