lfunc.h 455 B

123456789101112131415161718192021222324
  1. /*
  2. ** $Id: lfunc.h,v 1.3 1997/10/24 17:17:24 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 *l);
  12. void luaF_freeclosure (Closure *l);
  13. void luaF_simpleclosure (TObject *o);
  14. char *luaF_getlocalname (TProtoFunc *func, int local_number, int line);
  15. #endif