MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / malloc

Function malloc

source/core/StarMemory.cpp:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#ifdef STAR_USE_JEMALLOC
22#ifdef STAR_JEMALLOC_IS_PREFIXED
23 void* malloc(size_t size) {
24 return je_malloc(size);
25 }
26
27 void* realloc(void* ptr, size_t size) {
28 return je_realloc(ptr, size);

Callers 5

reserveMethod · 0.70
resetMethod · 0.70
operator newFunction · 0.70
operator new[]Function · 0.70
reserveMethod · 0.70

Calls 1

rpmallocFunction · 0.85

Tested by

no test coverage detected