mirror of
https://github.com/espressif/openthread.git
synced 2026-08-08 19:57:46 +00:00
[docs] note that use of the public Heap API is discouraged (#4285)
This commit is contained in:
committed by
Jonathan Hui
parent
c8eaeba6b4
commit
ab97703b04
@@ -74,10 +74,18 @@ typedef void (*otHeapFreeFn)(void *aPointer);
|
||||
|
||||
// This is a temporary API and would be removed after moving heap to platform.
|
||||
// TODO: Remove after moving heap to platform.
|
||||
/**
|
||||
* @note This API is deprecated and use of it is discouraged.
|
||||
*
|
||||
*/
|
||||
void *otHeapCAlloc(size_t aCount, size_t aSize);
|
||||
|
||||
// This is a temporary API and would be removed after moving heap to platform.
|
||||
// TODO: Remove after moving heap to platform.
|
||||
/**
|
||||
* @note This API is deprecated and use of it is discouraged.
|
||||
*
|
||||
*/
|
||||
void otHeapFree(void *aPointer);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user