2020-01-22 16:55:51 +00:00
|
|
|
/*
|
2021-12-06 06:59:55 +00:00
|
|
|
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
|
2020-01-22 16:55:51 +00:00
|
|
|
*
|
2021-12-06 06:59:55 +00:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2020-01-22 16:55:51 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ESP_NIMBLE_MEM_H__
|
|
|
|
#define __ESP_NIMBLE_MEM_H__
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-06-17 13:32:27 +00:00
|
|
|
// #pragma message "This file should be replaced with bt_osi_mem.h, used here for compatibility"
|
|
|
|
|
|
|
|
#include "bt_osi_mem.h"
|
|
|
|
#define nimble_platform_mem_malloc bt_osi_mem_malloc
|
|
|
|
#define nimble_platform_mem_calloc bt_osi_mem_calloc
|
|
|
|
#define nimble_platform_mem_free bt_osi_mem_free
|
2020-01-22 16:55:51 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __ESP_NIMBLE_MEM_H__ */
|