Name

OfxMemorySuiteV1::memoryAlloc — Allocate memory.

Synopsis

#include "ofxMemory.h" 
OfxStatus(*memoryAlloc)(void *handle,
  size_tnBytes,
  void **allocatedData);
 

Arguments

  • handle -
  • nBytes -
  • allocatedData -

Description

This function has the host allocate memory using its own memory resources and returns that to the plugin.

Returns