|
librdesc
|
Default implementation of the stack. More...
Public Attributes | |
| size_t | len |
| size_t | cap |
| size_t | element_size |
| char | elements [] |
Default implementation of the stack.
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. | size_t rdesc_stack::cap |
allocated capacity of the buffer
| size_t rdesc_stack::element_size |
size of a element in chars
| char rdesc_stack::elements[] |
the dynamic array buffer
| size_t rdesc_stack::len |
current number of elements in the stack