lgc.h 404 B

1234567891011121314151617181920212223
  1. /*
  2. ** $Id: lgc.h,v 1.11 2001/06/12 18:43:13 roberto Exp roberto $
  3. ** Garbage Collector
  4. ** See Copyright Notice in lua.h
  5. */
  6. #ifndef lgc_h
  7. #define lgc_h
  8. #include "lobject.h"
  9. #define luaC_checkGC(L) if (G(L)->nblocks >= G(L)->GCthreshold) \
  10. luaC_collectgarbage(L)
  11. void luaC_callallgcTM (lua_State *L);
  12. void luaC_collect (lua_State *L, int all);
  13. void luaC_collectgarbage (lua_State *L);
  14. #endif