OfxMemorySuiteV1::memoryAlloc
— Allocate memory.
#include "ofxMemory.h"
OfxStatus
(*memoryAlloc)
(
|
void * handle , |
size_t nBytes , | |
void **
allocatedData
)
;
|
This function has the host allocate memory using its own memory resources and returns that to the plugin.
kOfxStatOK
the memory was sucessfully allocated
kOfxStatErrMemory
the request could not be met and no memory was allocated