All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kzc_memory_system.h File Reference

System memory manager. More...

Functions

KANZI_API kzsError kzcMemoryManagerCreateSystemManager (struct KzcMemoryManager **out_manager)
 Creates a new memory manager, which allocates and deallocates memory with the C library's malloc() and free() functions. More...
 

Detailed Description

System memory manager.

System memory manager simply allocates and deallocates memory with the C library's malloc() and free() functions. This memory manager is thread-safe in POSIX-compatible operating systems. When using KzaApplication, the system memory manager returned by ::kzaApplicationGetSystemMemoryManager() can be used.

Copyright 2008-2020 by Rightware. All rights reserved.

Function Documentation

KANZI_API kzsError kzcMemoryManagerCreateSystemManager ( struct KzcMemoryManager **  out_manager)

Creates a new memory manager, which allocates and deallocates memory with the C library's malloc() and free() functions.

Parameters
out_managerA pointer that is set to point to the new memory manager on success.
Returns
KZS_SUCCESS on success.