Memory manager private members. More...
#include <kanzi/core/legacy/memory/kzc_memory_common.hpp>
#include <kanzi/core/legacy/kzs_types.hpp>
#include <kanzi/core/legacy/debug/kzs_error.hpp>
#include <kanzi/core/legacy/thread/kzs_thread.hpp>
Classes | |
struct | KzcMemoryManager |
Memory manager. More... | |
Typedefs | |
typedef kzsError(* | KzcMemoryManagerDeletor) (struct KzcMemoryManager *memoryManager) |
Memory manager delete function type definition. More... | |
typedef kzsError(* | KzcMemoryAllocator) (const struct KzcMemoryManager *memoryManager, kzSizeT size, void **out_pointer MEMORY_MANAGER_DEBUG_PARAM_PRIVATE(kzString description)) |
Memory manager alloc function type definition. More... | |
typedef kzsError(* | KzcMemoryDeallocator) (const struct KzcMemoryManager *memoryManager, void *pointer MEMORY_MANAGER_DEBUG_PARAM_PRIVATE(kzString description)) |
Memory manager dealloc function type definition. More... | |
Functions | |
void | kzcMemoryManagerInitialize_protected (struct KzcMemoryManager *manager, enum KzcMemoryManagerType type, KzcMemoryManagerDeletor deletor, KzcMemoryAllocator allocator, KzcMemoryDeallocator deallocator, kzSizeT size) |
Initializes a memory manager. More... | |
void | kzcMemoryManagerDumpLeaks (struct KzcMemoryManager *manager) |
Memory manager private members.
Copyright 2008-2017 by Rightware. All rights reserved.
typedef kzsError(* KzcMemoryManagerDeletor) (struct KzcMemoryManager *memoryManager) |
Memory manager delete function type definition.
typedef kzsError(* KzcMemoryAllocator) (const struct KzcMemoryManager *memoryManager, kzSizeT size, void **out_pointer MEMORY_MANAGER_DEBUG_PARAM_PRIVATE(kzString description)) |
Memory manager alloc function type definition.
typedef kzsError(* KzcMemoryDeallocator) (const struct KzcMemoryManager *memoryManager, void *pointer MEMORY_MANAGER_DEBUG_PARAM_PRIVATE(kzString description)) |
Memory manager dealloc function type definition.
void kzcMemoryManagerInitialize_protected | ( | struct KzcMemoryManager * | manager, |
enum KzcMemoryManagerType | type, | ||
KzcMemoryManagerDeletor | deletor, | ||
KzcMemoryAllocator | allocator, | ||
KzcMemoryDeallocator | deallocator, | ||
kzSizeT | size | ||
) |
Initializes a memory manager.
void kzcMemoryManagerDumpLeaks | ( | struct KzcMemoryManager * | manager | ) |