mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 05:55:49 +00:00
feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code
This commit is contained in:
21
components/bt/porting/include/bt_osi_mem.h
Normal file
21
components/bt/porting/include/bt_osi_mem.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "sdkconfig.h"
|
||||
#include "esp_attr.h"
|
||||
#include "esp_heap_caps.h"
|
||||
|
||||
void *bt_osi_mem_malloc(size_t size);
|
||||
|
||||
void *bt_osi_mem_calloc(size_t n, size_t size);
|
||||
|
||||
void *bt_osi_mem_malloc_internal(size_t size);
|
||||
|
||||
void *bt_osi_mem_calloc_internal(size_t n, size_t size);
|
||||
|
||||
void bt_osi_mem_free(void *ptr);
|
||||
Reference in New Issue
Block a user