From 882f164e7c1333710ae61db1b43b784a7cc11738 Mon Sep 17 00:00:00 2001 From: Deomid Ryabkov Date: Tue, 26 Sep 2017 14:47:27 +0100 Subject: [PATCH 1/2] Fix multi_heap_get_info alias --- components/heap/multi_heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/heap/multi_heap.c b/components/heap/multi_heap.c index 1d2607913e..b0452f4c4e 100644 --- a/components/heap/multi_heap.c +++ b/components/heap/multi_heap.c @@ -45,7 +45,7 @@ size_t multi_heap_get_allocated_size(multi_heap_handle_t heap, void *p) multi_heap_handle_t multi_heap_register(void *start, size_t size) __attribute__((alias("multi_heap_register_impl"))); -void multi_get_heap_info(multi_heap_handle_t heap, multi_heap_info_t *info) +void multi_heap_get_info(multi_heap_handle_t heap, multi_heap_info_t *info) __attribute__((alias("multi_heap_get_info_impl"))); size_t multi_heap_free_size(multi_heap_handle_t heap) From ec85f9fc3f5d09e11455e1eef4000f4ada677d74 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 9 Oct 2017 14:42:31 +1100 Subject: [PATCH 2/2] heap: Fix documentation references to multi_get_heap_info() --- components/heap/include/multi_heap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/heap/include/multi_heap.h b/components/heap/include/multi_heap.h index 1bad09a99f..9ea841bff5 100644 --- a/components/heap/include/multi_heap.h +++ b/components/heap/include/multi_heap.h @@ -134,7 +134,7 @@ size_t multi_heap_free_size(multi_heap_handle_t heap); /** @brief Return the lifetime minimum free heap size * - * Equivalent to the minimum_free_bytes member returned by multi_get_heap_info(). + * Equivalent to the minimum_free_bytes member returned by multi_heap_get_info(). * * Returns the lifetime "low water mark" of possible values returned from multi_free_heap_size(), for the specified * heap. @@ -144,7 +144,7 @@ size_t multi_heap_free_size(multi_heap_handle_t heap); */ size_t multi_heap_minimum_free_size(multi_heap_handle_t heap); -/** @brief Structure to access heap metadata via multi_get_heap_info */ +/** @brief Structure to access heap metadata via multi_heap_get_info */ typedef struct { size_t total_free_bytes; ///< Total free bytes in the heap. Equivalent to multi_free_heap_size(). size_t total_allocated_bytes; ///< Total bytes allocated to data in the heap.