garbcoll.h

mud++0.35/src/garbcoll.h · 1.1 KB

From the archive mud++0.35.tar.gz

Download the archive   « Back to the archive contents

/*
....[@@@..[@@@..............[@.................. MUD++ is a written from
....[@..[@..[@..[@..[@..[@@@@@....[@......[@.... scratch multi-user swords and
....[@..[@..[@..[@..[@..[@..[@..[@@@@@..[@@@@@.. sorcery game written in C++.
....[@......[@..[@..[@..[@..[@....[@......[@.... This server is an ongoing
....[@......[@..[@@@@@..[@@@@@.................. development project.  All 
................................................ contributions are welcome. 
....Copyright(C).1995.Melvin.Smith.............. Enjoy. 
------------------------------------------------------------------------------
Melvin Smith (aka Fusion)         msmith@hom.net
MUD++ development mailing list    mudpp@van.ml.org
------------------------------------------------------------------------------
garbcoll.h
*/

#ifndef _GARBCOLL_H
#define _GARBCOLL_H

#define GARBAGE_COLLECTOR_DEBUG 1

class VMObject;

// Fusion - leave this naming scheme, as I will move to OO gc in future
// for now it is more like GC::init() etc - Artur
extern bool gc_working_now;
void GC_init();
void GC_register(VMObject * );
int GC_getStackSize();
int GC_getFreeCount();

#endif

Site Stats

Snippets: 1791
Codebases: 571