Issue
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!
Solution
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.
Answered By - Darek
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.