|
librdesc
|
Default implementation of the token backtracking stack. More...
Public Attributes | |
| size_t | len |
| size_t | cap |
| struct rdesc_token | tokens [] |
Default implementation of the token backtracking 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::len |
current number of tokens in the stack
| struct rdesc_token rdesc_stack::tokens[] |
pointer to the dynamic array buffer