lfunc.h 508 B

123456789101112131415161718192021222324252627
  1. /*
  2. ** $Id: lfunc.h,v 1.2 1997/09/26 16:46:20 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. extern GCnode luaF_root;
  10. extern GCnode luaF_rootcl;
  11. TProtoFunc *luaF_newproto (void);
  12. Closure *luaF_newclosure (int nelems);
  13. void luaF_freeproto (TProtoFunc *l);
  14. void luaF_freeclosure (Closure *l);
  15. void luaF_simpleclosure (TObject *o);
  16. char *luaF_getlocalname (TProtoFunc *func, int local_number, int line);
  17. #endif