]> gcc.gnu.org Git - gcc.git/blame - gcc/stack.h
configure.in (sched_yield): Try librt first, then libposix4.
[gcc.git] / gcc / stack.h
CommitLineData
acde64ae
CH
1/* stack.h - structed access to object stacks
2 Copyright (C) 1988 Free Software Foundation, Inc.
3 Contributed by Michael Tiemann (tiemann@cygnus.com).
4
5This program is free software; you can redistribute it and/or modify it
6under the terms of the GNU General Public License as published by the
7Free Software Foundation; either version 2, or (at your option) any
8later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software
e9fa0c7c
RK
17Foundation, 59 Temple Place - Suite 330,
18Boston, MA 02111-1307, USA. */
acde64ae
CH
19
20/* Summary: this file contains additional structures that layer
21 on top of obstacks for GNU C++. */
22
23/* Stack of data placed on obstacks. */
24
25struct stack_level
26{
27 /* Pointer back to previous such level. */
28 struct stack_level *prev;
29
30 /* Point to obstack we should return to. */
31 struct obstack *obstack;
32
33 /* First place we start putting data. */
34 tree *first;
35
36 /* Number of entries we can have from `first'.
37 Right now we are dumb: if we overflow, abort. */
38 int limit;
39};
40
521f2d6f
JW
41struct stack_level *push_stack_level PROTO((struct obstack *, char *, int));
42struct stack_level *pop_stack_level PROTO((struct stack_level *));
This page took 0.860787 seconds and 5 git commands to generate.