lfunc.h 638 B

12345678910111213141516171819202122232425
  1. /*
  2. ** $Id: lfunc.h,v 1.16 2001/09/07 17:39:10 roberto Exp $
  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_newCclosure (lua_State *L, int nelems);
  11. Closure *luaF_newLclosure (lua_State *L, int nelems);
  12. void luaF_LConlist (lua_State *L, Closure *cl);
  13. void luaF_close (lua_State *L, StkId level);
  14. void luaF_freeproto (lua_State *L, Proto *f);
  15. void luaF_freeclosure (lua_State *L, Closure *c);
  16. const l_char *luaF_getlocalname (const Proto *func, int local_number, int pc);
  17. #endif