3 /* gc.h -- Functions for garbage collecting unused node contents.
4 Id: gc.h,v 1.3 2004/04/11 17:56:45 karl Exp
6 This file is part of GNU Info, a program for reading online documentation
9 Copyright (C) 1993, 1997, 2004 Free Software Foundation, Inc.
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2, or (at your option)
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 Written by Brian Fox (bfox@ai.mit.edu). */
30 /* Add POINTER to the list of garbage collectible pointers. A pointer
31 is not actually garbage collected until no info window contains a node
32 whose contents member is equal to the pointer. */
33 extern void add_gcable_pointer (char *pointer
);
35 /* Grovel the list of info windows and gc-able pointers finding those
36 node->contents which are collectible, and free them. */
37 extern void gc_pointers (void);
39 #endif /* not INFO_GC_H */