1234567891011121314151617181920212223242526 |
- /*
- * @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);
- }
|