TuttleOFX
1
|
The OFX suite that implements general purpose memory management. More...
#include <ofxMemory.h>
Data Fields | |
OfxStatus(* | memoryAlloc )(void *handle, size_t nBytes, void **allocatedData) |
Allocate memory. | |
OfxStatus(* | memoryFree )(void *allocatedData) |
Frees memory. |
The OFX suite that implements general purpose memory management.
Use this suite for ordinary memory management functions, where you would normally use malloc/free or new/delete on ordinary objects.
For images, you should use the memory allocation functions in the image effect suite, as many hosts have specific image memory pools.
Definition at line 51 of file ofxMemory.h.
OfxStatus( * OfxMemorySuiteV1::memoryAlloc)(void *handle, size_t nBytes, void **allocatedData) |
Allocate memory.
This function has the host allocate memory using it's own memory resources and returns that to the plugin.
Definition at line 67 of file ofxMemory.h.
Referenced by OFX::memory::allocate().
OfxStatus( * OfxMemorySuiteV1::memoryFree)(void *allocatedData) |
Frees memory.
This function frees any memory that was previously allocated via OfxMemorySuiteV1::memoryAlloc.
Definition at line 82 of file ofxMemory.h.
Referenced by OFX::memory::free().