Libparserutils
Data Fields
parserutils_stack Struct Reference

Stack object. More...

Data Fields

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

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

void* parserutils_stack::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: