Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ceguilua/src/lua-5.0.3/lua/lgc.h @ 1808

Last change on this file since 1808 was 1803, checked in by rgrieder, 16 years ago

added files for lua 5.1.3, lua 5.0.3, CEGUILua-0.6.1 and CEGUILua-0.5.0b

  • Property svn:eol-style set to native
File size: 533 bytes
Line 
1/*
2** $Id: lgc.h,v 1.19a 2003/02/28 19:45:15 roberto Exp $
3** Garbage Collector
4** See Copyright Notice in lua.h
5*/
6
7#ifndef lgc_h
8#define lgc_h
9
10
11#include "lobject.h"
12
13
14#define luaC_checkGC(L) { lua_assert(!(L->ci->state & CI_CALLING)); \
15        if (G(L)->nblocks >= G(L)->GCthreshold) luaC_collectgarbage(L); }
16
17
18size_t luaC_separateudata (lua_State *L);
19void luaC_callGCTM (lua_State *L);
20void luaC_sweep (lua_State *L, int all);
21void luaC_collectgarbage (lua_State *L);
22void luaC_link (lua_State *L, GCObject *o, lu_byte tt);
23
24
25#endif
Note: See TracBrowser for help on using the repository browser.