![]() |
OceanBase Plugin Development Kit
OceanBase Plugin Development Kit
|
#include "oceanbase/ob_plugin_base.h"
类型定义 | |
typedef ObPluginDatum | ObPluginAllocatorPtr |
< The allocator paramter | |
函数 | |
OBP_PUBLIC_API void * | obp_malloc (int64_t size) |
malloc interface with alignment | |
OBP_PUBLIC_API void * | obp_malloc_align (int64_t alignment, int64_t size) |
free memory | |
OBP_PUBLIC_API void | obp_free (void *ptr) |
OBP_PUBLIC_API void * | obp_allocate (ObPluginAllocatorPtr allocator, int64_t size) |
allocate memory with the specific allocator | |
OBP_PUBLIC_API void * | obp_allocate_align (ObPluginAllocatorPtr allocator, int64_t alignment, int64_t size) |
free memory | |
OBP_PUBLIC_API void | obp_deallocate (ObPluginAllocatorPtr allocator, void *ptr) |