Use target specific, language specific object files feature to allow build
[official-gcc.git] / texinfo / info / gc.h
blob19c19bb3bc35277aaef2c5ee7ff1bb6191995501
1 /* gc.h -- Functions for garbage collecting unused node contents.
2 $Id: gc.h,v 1.1.1.2 1998/03/22 20:42:32 law Exp $
4 This file is part of GNU Info, a program for reading online documentation
5 stored in Info format.
7 Copyright (C) 1993, 97 Free Software Foundation, Inc.
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.
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.
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.
23 Written by Brian Fox (bfox@ai.mit.edu). */
25 #ifndef INFO_GC_H
26 #define INFO_GC_H
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. */
31 extern void add_gcable_pointer ();
33 /* Grovel the list of info windows and gc-able pointers finding those
34 node->contents which are collectible, and free them. */
35 extern void gc_pointers ();
37 #endif /* not INFO_GC_H */