MathEngine
Home Page       Structures       File List       Functions and Macros      

MathEngine Utilities: Memory Manager API Documentation

Version 0.0.5 Alpha

Purpose

The MeMemory API allows interfacing in a portable manner with all sorts of memory managers. It exists as libraries should not implement their own memory management, but should rely on an application wide memory management library, which of course depends on the application.

Because of this, and to allow libraries to be delivered as binaries, access to memory manager functions is via function pointers.

Wrappers

When a library needs integrating in an application, a wrapper should be written that implements this API and invokes the application's own memory manager.

Both because of MathEngine's own internal needs and as examples of how to write such wrappers, this API comes with two predefined wrappers, one for the C language standard malloc memory manager and one for a fixed size pools of fixed size blocks memory manager that is also included.

Examples

As examples of use (not to be followed in programming style) one can look at the test codes for the wrappers.


MathEngine Utilities: Memory Manager API - Version 0.0.5 Alpha - Reference Manual generated using doxygen at Wed Oct 11 00:34:56 2000

Copyright MathEngine PLC 2000, all rights reserved.