MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / mi_malloc

Function mi_malloc

modules/core/core/src/core/memory/memory.c:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include <malloc.h>
8#include <string.h>
9 inline static void* mi_malloc(size_t size)
10 {
11 return malloc(size);
12 }
13 inline static void* mi_calloc(size_t count, size_t size)
14 {
15 void* ptr = calloc(count, size);

Callers 2

mi_new_nFunction · 0.85
_sakura_mallocFunction · 0.85

Calls 1

mallocFunction · 0.50

Tested by

no test coverage detected