22 lines
312 B
C
22 lines
312 B
C
/*
|
|
* Copyright (c) 2021 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/kernel.h>
|
|
|
|
#include <openthread/platform/memory.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
void *otPlatCAlloc(size_t aNum, size_t aSize)
|
|
{
|
|
return calloc(aNum, aSize);
|
|
}
|
|
|
|
void otPlatFree(void *aPtr)
|
|
{
|
|
free(aPtr);
|
|
}
|