#include <obstack.h>
Collaboration diagram for obstack:

Public Attributes | |
| long | chunk_size |
| _obstack_chunk * | chunk |
| char * | object_base |
| char * | next_free |
| char * | chunk_limit |
| PTR_INT_TYPE | temp |
| int | alignment_mask |
| _obstack_chunk *(* | chunkfun )(int) |
| void(* | freefun )(void *) |
| char * | extra_arg |
| unsigned | use_extra_arg:1 |
| unsigned | maybe_empty_object:1 |
| unsigned | alloc_failed:1 |
|
|
Mask of alignment for each object. |
|
|
chunk alloc func returned 0 |
|
|
address of current struct obstack_chunk |
|
|
address of char after current chunk |
|
|
preferred size to allocate chunks in |
|
|
User's fcn to allocate a chunk. |
|
|
first arg for chunk alloc/dealloc funcs |
|
|
User's function to free a chunk. |
|
|
There is a possibility that the current chunk contains a zero-length object. This prevents freeing the chunk if we allocate a bigger chunk to replace it. |
|
|
where to add next char to current object |
|
|
address of object we are building |
|
|
Temporary for some macros. |
|
|
chunk alloc/dealloc funcs take extra arg |
1.3.6