2
0

lfunc.h 530 B

123456789101112131415161718192021222324
  1. /*
  2. ** $Id: lfunc.h,v 1.10 1999/12/27 17:33:22 roberto Exp roberto $
  3. ** Auxiliary functions to manipulate prototypes and closures
  4. ** See Copyright Notice in lua.h
  5. */
  6. #ifndef lfunc_h
  7. #define lfunc_h
  8. #include "lobject.h"
  9. Proto *luaF_newproto (lua_State *L);
  10. Closure *luaF_newclosure (lua_State *L, int nelems);
  11. void luaF_freeproto (lua_State *L, Proto *f);
  12. void luaF_freeclosure (lua_State *L, Closure *c);
  13. const char *luaF_getlocalname (const Proto *func,
  14. int local_number, int line);
  15. #endif