lfunc.h 460 B

123456789101112131415161718192021222324
  1. /*
  2. ** $Id: lfunc.h,v 1.7 1999/10/04 17:51:04 roberto Exp roberto $
  3. ** Lua Function structures
  4. ** See Copyright Notice in lua.h
  5. */
  6. #ifndef lfunc_h
  7. #define lfunc_h
  8. #include "lobject.h"
  9. TProtoFunc *luaF_newproto (void);
  10. Closure *luaF_newclosure (int nelems);
  11. void luaF_freeproto (TProtoFunc *f);
  12. void luaF_freeclosure (Closure *c);
  13. const char *luaF_getlocalname (const TProtoFunc *func,
  14. int local_number, int line);
  15. #endif