2021-02-17 12:41:00 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Nordic Semiconductor ASA
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2022-05-06 11:12:04 +02:00
|
|
|
#include <zephyr/kernel.h>
|
2021-02-17 12:41:00 +01:00
|
|
|
|
|
|
|
#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);
|
|
|
|
}
|