rpm
4.5
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
lua
lgc.h
Go to the documentation of this file.
1
/*
2
** $Id: lgc.h,v 1.2 2004/03/19 21:14:32 niemeyer 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
18
size_t
luaC_separateudata
(
lua_State
*L)
19
/*@modifies L @*/
;
20
void
luaC_callGCTM
(
lua_State
*L)
21
/*@modifies L @*/
;
22
void
luaC_sweep
(
lua_State
*L,
int
all)
23
/*@modifies L @*/
;
24
void
luaC_collectgarbage
(
lua_State
*L)
25
/*@modifies L @*/
;
26
void
luaC_link
(
lua_State
*L,
GCObject
*o,
lu_byte
tt)
27
/*@modifies L, o @*/
;
28
29
30
#endif
Generated on Tue Aug 28 2012 18:13:47 for rpm by
1.8.2