mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
8c96721a55
mqttclient compile pass, log and ssl config off
27 lines
506 B
C
27 lines
506 B
C
/*
|
|
* @Author: jiejie
|
|
* @Github: https://github.com/jiejieTop
|
|
* @Date: 2019-12-14 22:02:07
|
|
* @LastEditTime: 2020-02-19 20:26:04
|
|
* @Description: the code belongs to jiejie, please keep the author information and source code according to the license.
|
|
*/
|
|
#include "platform_memory.h"
|
|
|
|
void *platform_memory_alloc(size_t size)
|
|
{
|
|
return malloc(size);
|
|
}
|
|
|
|
void *platform_memory_calloc(size_t num, size_t size)
|
|
{
|
|
return calloc(num, size);
|
|
}
|
|
|
|
void platform_memory_free(void *ptr)
|
|
{
|
|
free(ptr);
|
|
}
|
|
|
|
|
|
|