00001 #ifndef _ofxMemory_h_
00002 #define _ofxMemory_h_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037
00038 #define kOfxMemorySuite "OfxMemorySuite"
00039
00048 typedef struct OfxMemorySuiteV1 {
00063 OfxStatus (*memoryAlloc)(void *handle,
00064 size_t nBytes,
00065 void **allocatedData);
00066
00078 OfxStatus (*memoryFree)(void *allocatedData);
00079 } OfxMemorySuiteV1;
00080
00081
00088 #ifdef __cplusplus
00089 }
00090 #endif
00091
00092 #endif