#include <cstdlib>
#include <cstring>
#include "BLI_utildefines.hh"
#include "MEM_guardedalloc.h"
#include "BLI_stack_c.hh"
#include "BLI_strict_flags.hh"
Go to the source code of this file.
|
| static void * | blender::stack_get_last_elem (BLI_Stack *stack) |
| static size_t | blender::stack_chunk_elem_max_calc (const size_t elem_size, size_t chunk_size) |
| BLI_Stack * | blender::BLI_stack_new_ex (size_t elem_size, const char *description, size_t chunk_size) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() |
| BLI_Stack * | blender::BLI_stack_new (size_t elem_size, const char *description) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() |
| static void | blender::stack_free_chunks (StackChunk *data) |
| void | blender::BLI_stack_free (BLI_Stack *stack) ATTR_NONNULL() |
| void * | blender::BLI_stack_push_r (BLI_Stack *stack) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() |
| void | blender::BLI_stack_push (BLI_Stack *stack, const void *src) ATTR_NONNULL() |
| void | blender::BLI_stack_pop (BLI_Stack *stack, void *dst) ATTR_NONNULL() |
| void | blender::BLI_stack_pop_n (BLI_Stack *stack, void *dst, unsigned int n) ATTR_NONNULL() |
| void | blender::BLI_stack_pop_n_reverse (BLI_Stack *stack, void *dst, unsigned int n) ATTR_NONNULL() |
| void * | blender::BLI_stack_peek (BLI_Stack *stack) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() |
| void | blender::BLI_stack_discard (BLI_Stack *stack) ATTR_NONNULL() |
| void | blender::BLI_stack_clear (BLI_Stack *stack) ATTR_NONNULL() |
| size_t | blender::BLI_stack_count (const BLI_Stack *stack) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() |
| bool | blender::BLI_stack_is_empty (const BLI_Stack *stack) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() |
◆ CHUNK_ELEM_MIN
| #define CHUNK_ELEM_MIN 32 |
◆ CHUNK_EMPTY
| #define CHUNK_EMPTY size_t(-1) |
◆ CHUNK_SIZE_DEFAULT
| #define CHUNK_SIZE_DEFAULT (1 << 16) |
◆ USE_TOTELEM