aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
blob: fdf75d058495d1b22ccfd9c0282e5996e2baf09f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
** $Id: $
** Garbage Collector
** See Copyright Notice in lua.h
*/

#ifndef lgc_h
#define lgc_h


#include "lobject.h"


extern long luaC_threshold;

void luaC_checkGC (void);
TObject* luaC_getref (int ref);
int luaC_ref (TObject *o, int lock);


#endif