36 #ifndef __METAL_ALLOC__H__ 37 #define __METAL_ALLOC__H__ 62 #include "metal/system/@PROJECT_SYSTEM@/alloc.h" static void * metal_allocate_memory(unsigned int size)
allocate requested memory size return a pointer to the allocated memory
static void metal_free_memory(void *ptr)
free the memory previously allocated