MathEngine
Home Page       Structures       File List       Functions and Macros      

allocaMeMemory.h File Reference

Redefines 'alloca' in terms of the MathEngine memory manager wrapper API. More...

#include "MeMemory.h"

Defines

#define alloca(size)    (MeMemoryALLOCA(size))
 This is a redefinition of 'alloca' so that the memory manager API version is actually used.

#define freea(block)    (MeMemoryFREEA(block))
 This is a definition of 'freea' so that the memory manager API version is actually used. More...

#define allocaMEMEMORYWRAP   1
 You can test this to see to check whether 'alloca' has been wrapped by MeMemory, this header.


Detailed Description

Redefines 'alloca' in terms of the MathEngine memory manager wrapper API.


Define Documentation

#define freea( block )   (MeMemoryFREEA(block))

This is a definition of 'freea' so that the memory manager API version is actually used.

This function must be invoked to deallocate a block allocated by 'alloca'. It will be a no-op for all compilers that support 'alloca' as an intrinsic.


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.