Stack implementation.
More...
#include <utils/stack.h>
|
void ** | elements |
|
int | max_length |
| Max stack size, or -1 for unlimited.
|
|
gint | top |
| Index of the top of the stack.
|
|
Stack implementation.
Definition at line 31 of file stack.h.
◆ elements
◆ max_length
Max stack size, or -1 for unlimited.
If the stack has a fixed length, it will be real-time safe. If it has unlimited length, it will not be real-time safe.
Definition at line 42 of file stack.h.
◆ top
Index of the top of the stack.
This is an index and not a count. Eg., if there is 1 element, this will be 0.
Definition at line 50 of file stack.h.
The documentation for this struct was generated from the following file: