lfunc.h 470 B

1234567891011121314151617181920212223242526
  1. /*
  2. ** $Id: lfunc.h,v 1.1 1997/09/16 19:25:59 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. char *luaF_getlocalname (TProtoFunc *func, int local_number, int line);
  16. #endif