mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
feat(heap): Update get allocated size function to take any pointer
This commit is contained in:
@@ -195,11 +195,15 @@ void heap_caps_dump_all(void)
|
||||
heap_caps_dump(MALLOC_CAP_INVALID);
|
||||
}
|
||||
|
||||
size_t heap_caps_get_allocated_size( void *ptr )
|
||||
size_t heap_caps_get_allocated_size(void *ptr)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
size_t heap_caps_get_containing_block_size(void *ptr) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps)
|
||||
{
|
||||
void *ptr = aligned_alloc(alignment, size);
|
||||
|
Reference in New Issue
Block a user