ex
Fork of mbed-os-example-mbed5-blinky by
Embed:
(wiki syntax)
Show/hide line numbers
baidu_ca_memory_adapter.h
00001 // Copyright 2017 Baidu Inc. All Rights Reserved. 00002 // Author: Su Hao (suhao@baidu.com) 00003 // 00004 // Description: memory function adapter 00005 00006 #ifndef BAIDU_IOT_TINYDU_IOT_OS_SRC_IOT_BAIDU_CA_ADAPTER_BAIDU_CA_MEMORY_ADAPTER_H 00007 #define BAIDU_IOT_TINYDU_IOT_OS_SRC_IOT_BAIDU_CA_ADAPTER_BAIDU_CA_MEMORY_ADAPTER_H 00008 00009 #include "baidu_ca.h" 00010 00011 #ifdef __cplusplus 00012 extern "C" { 00013 #endif 00014 00015 void* bca_memory_alloc(bca_context ctx, bca_size_t size); 00016 00017 void* bca_memory_realloc(bca_context ctx, void* ptr, bca_size_t size); 00018 00019 void bca_memory_free(bca_context ctx, void* ptr); 00020 00021 #ifdef __cplusplus 00022 } 00023 #endif 00024 00025 #endif // BAIDU_IOT_TINYDU_IOT_OS_SRC_IOT_BAIDU_CA_ADAPTER_BAIDU_CA_MEMORY_ADAPTER_H
Generated on Tue Jul 12 2022 16:28:52 by
1.7.2
