00001 00014 #ifndef _PLASMA_ALLOCATE_H_ 00015 #define _PLASMA_ALLOCATE_H_ 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00021 void *plasma_shared_alloc(plasma_context_t *plasma, size_t size, int type); 00022 void plasma_shared_free(plasma_context_t *plasma, void *ptr); 00023 void *plasma_private_alloc(plasma_context_t *plasma, size_t size, int type); 00024 void plasma_private_free(plasma_context_t *plasma, void *ptr); 00025 00026 #ifdef __cplusplus 00027 } 00028 #endif 00029 00030 #endif