This commit was manufactured by cvs2svn to create tag 'buildscript'.
[IRC.git] /
1 #ifndef GARBAGE_H
2 #define GARBAGE_H
3 struct garbagelist {
4   int size;
5   struct garbagelist *next;
6   void * array[];
7 };
8
9 struct listitem {
10   struct listitem * prev;
11   struct listitem * next;
12   struct garbagelist * stackptr;
13   struct ___Object___ * locklist;
14 };
15
16 #ifdef TASK
17 void fixtags();
18 #endif
19
20 #ifdef THREADS
21 void checkcollect(void * ptr);
22 struct listitem * stopforgc(struct garbagelist * ptr);
23 void restartaftergc(struct listitem * litem);
24 #endif
25 void * tomalloc(int size);
26 void collect(struct garbagelist *stackptr);
27 int gc_createcopy(void * orig, void **);
28 void * mygcmalloc(struct garbagelist * ptr, int size);
29 #endif