There should be dlmalloc_usable_size
function in the NDK.
But generally somebody inside google decided that malloc_usable_size
is not needed anymore and removed it from the standard linux api, so I'm not sure how it would be in the never NDK versions. Maybe dlmalloc_usable_size
will be also removed.
NDK replacement of deprecated `malloc_usable_size`
-
12-07-2023 - |
Pergunta
I need to port a large cross platform code which consists of the malloc_usable_size()
.
But, Seems like it was deprecated (read this thread and this).
Seems like I'm not the first one that needs it (1 & 2), but still no answer.
What alternative can be used to replace that method?
Thank you!
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow