FMI Library: part of JModelica.org
|
#include "jm_vector.h"
Go to the source code of this file.
Macros | |
#define | jm_stack(T) jm_mangle(jm_stack, T) |
A basic stack of items. More... | |
#define | jm_stack_alloc(T) jm_mangle(jm_stack_alloc, T) |
Allocates a stack with the given reserved memory. More... | |
#define | jm_stack_free(T) jm_mangle(jm_stack_free, T) |
Release memory allocated for a stack. More... | |
#define | jm_stack_init(T) jm_mangle(jm_stack_init, T) |
Initializes a jm_stack allocated on stack. More... | |
#define | jm_stack_free_data(T) jm_mangle(jm_stack_free_data, T) |
Releases memory allocated for stack data. More... | |
#define | jm_stack_get_size(T) jm_mangle(jm_stack_get_size, T) |
Get the number of elements in the stack. More... | |
#define | jm_stack_reserve(T) jm_mangle(jm_stack_reserve, T) |
Preallocate memory for the stack (to speed up consequent push). More... | |
#define | jm_stack_push(T) jm_mangle(jm_stack_push, T) |
Put an element on the stack. More... | |
#define | jm_stack_is_empty(T) jm_mangle(jm_stack_is_empty, T) |
#define | jm_stack_pop(T) jm_mangle(jm_stack_pop, T) |
#define | jm_stack_top(T) jm_mangle(jm_stack_top, T) |
#define | jm_stack_foreach(T) jm_mangle(jm_stack_foreach, T) |
#define | JM_STACK_MINIMAL_CAPACITY JM_VECTOR_MINIMAL_CAPACITY |
#define | JM_STACK_MAX_MEMORY_CHUNK JM_VECTOR_MAX_MEMORY_CHUNK |
#define | jm_stack_declare_template(T) |