Libparserutils
parserutils_stack Struct Reference

Stack object. More...

Data Fields

size_t item_size
 Size of an item in the stack.
size_t chunk_size
 Size of a stack chunk.
size_t items_allocated
 Number of slots allocated.
int32_t current_item
 Index of current item.
void * items
 Items in stack.

Detailed Description

Stack object.

Definition at line 16 of file stack.c.

Field Documentation

◆ chunk_size

size_t parserutils_stack::chunk_size

Size of a stack chunk.

Definition at line 19 of file stack.c.

Referenced by parserutils_stack_create(), and parserutils_stack_push().

◆ current_item

int32_t parserutils_stack::current_item

◆ item_size

size_t parserutils_stack::item_size

◆ items

◆ items_allocated

size_t parserutils_stack::items_allocated

Number of slots allocated.

Definition at line 20 of file stack.c.

Referenced by parserutils_stack_create(), and parserutils_stack_push().


The documentation for this struct was generated from the following file: