Synopsis - Cross-Reference

File: /src/Synopsis/PTree/GC-enabled.tmpl
 1//
 2// Copyright (C) 2004 Stefan Seefeld
 3// All rights reserved.
 4// Licensed to the public under the terms of the GNU LGPL (>= 2),
 5// see the file COPYING for details.
 6//
 7#ifndef Synopsis_PTree_GC_hh_
 8#define Synopsis_PTree_GC_hh_
 9
10#include <gc_cpp.h>
11
12namespace Synopsis
13{
14namespace PTree
15{
16
17using ::GC;
18using ::NoGC;
19
20typedef gc LightObject;
21typedef gc_cleanup Object;
22inline void init_gc() { GC_INIT();}
23inline void cleanup_gc() { GC_gcollect();}
24
25}
26}
27
28#endif