Spinning Topp Logo BlackTopp Studios
inc
Namespaces | Typedefs | Functions
memorymanagement.h File Reference

The xml memory management system must be integrated into the rest of the Mezzanine resource management syste, until that happens it will reside here. More...

#include "datatypes.h"
+ Include dependency graph for memorymanagement.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Mezzanine
 The bulk of the engine components go in this namspace.
 
 Mezzanine::XML
 All tools for working with XML are located in this namespace.
 

Typedefs

typedef void *(* Mezzanine::XML::AllocationFunction) (size_t size)
 Memory allocation function interface; returns pointer to allocated memory or NULL on failure.
 
typedef void(* Mezzanine::XML::DeAllocationFunction) (void *ptr)
 Function pointer type for a memory deallocation function interface.
 

Functions

AllocationFunction MEZZ_LIB Mezzanine::XML::GetMemoryAllocationFunction ()
 Get the current allocation funciton. More...
 
DeAllocationFunction MEZZ_LIB Mezzanine::XML::GetMemoryDeallocationFunction ()
 Get the current allocation funciton. More...
 
void MEZZ_LIB Mezzanine::XML::SetMemoryManagementFunctions (AllocationFunction allocate, DeAllocationFunction deallocate)
 Override default memory management functions. All subsequent allocations/deallocations will be performed via supplied functions. More...
 

Detailed Description

The xml memory management system must be integrated into the rest of the Mezzanine resource management syste, until that happens it will reside here.

Definition in file memorymanagement.h.