Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

ofxsMemory.h File Reference

Go to the source code of this file.

Namespaces

namespace  OFX
namespace  OFX::Memory

Functions

void * allocate (size_t nBytes, ImageEffect *handle=0)
 allocate n bytes, returns a pointer to it


Function Documentation

void * OFX::Memory::allocate size_t  nBytes,
ImageEffect *  handle = 0
 

allocate n bytes, returns a pointer to it

  • nBytes - the number of bytes to allocate
  • handle - effect instance to assosciate with this memory allocation, or NULL
This function has the host allocate memory using it's own memory resources and returns that to the plugin. This memory is distinct to any image memory allocation.

Suceeds or throws std::bad_alloc


Generated on Thu Oct 9 13:03:49 2008 for OFX Support by  doxygen 1.3.9.1