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