sm: add cpp guart around function definition for custom allocator

This commit is contained in:
Matthias Ringwald 2016-06-10 13:46:31 +02:00
parent e314fd6b1e
commit 71c3dc3dd6

View File

@ -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
/**