lfunc.h 497 B

1234567891011121314151617181920212223
  1. /*
  2. ** $Id: lfunc.h,v 1.11 2000/03/10 18:37:44 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, int local_number, int pc);
  14. #endif