mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
sm: add cpp guart around function definition for custom allocator
This commit is contained in:
parent
e314fd6b1e
commit
71c3dc3dd6
8
3rd-party/mbedtls/include/mbedtls/config.h
vendored
8
3rd-party/mbedtls/include/mbedtls/config.h
vendored
@ -44,10 +44,18 @@
|
||||
#define MBEDTLS_PLATFORM_STD_FREE sm_mbedtls_allocator_free
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
void * sm_mbedtls_allocator_calloc(size_t count, size_t size);
|
||||
void sm_mbedtls_allocator_free(void * data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
// BTstack modifications end
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user