Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_n
Function · 0.85
_sakura_malloc
Function · 0.85
Calls
1
malloc
Function · 0.50
Tested by
no test coverage detected