librdesc
Loading...
Searching...
No Matches
Public Attributes | List of all members
rdesc_stack Struct Reference

Default implementation of the stack. More...

Public Attributes

size_t len
 
size_t cap
 
size_t element_size
 
char elements []
 

Detailed Description

Default implementation of the stack.

Note
Portability / Custom Implementation: This definition is guarded by stack feature flag. If you are porting librdesc to an environment that already has a preferred dynamic array or stack implementation (e.g., a project-specific vector type), you can remove the stack feature flag. This allows you to suppress this default struct and provide your own definition of struct rdesc_stack compatible with your system.

Member Data Documentation

◆ cap

size_t rdesc_stack::cap

allocated capacity of the buffer

◆ element_size

size_t rdesc_stack::element_size

size of a element in chars

◆ elements

char rdesc_stack::elements[]

the dynamic array buffer

◆ len

size_t rdesc_stack::len

current number of elements in the stack


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