MCPcopy Create free account
hub / github.com/TASEmulators/fceux / _FCEU_malloc

Function _FCEU_malloc

src/utils/memory.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56static void *_FCEU_malloc(size_t size)
57{
58 void* ret = malloc(size);
59
60 if(!ret)
61 FCEU_abort("Error allocating memory!");
62
63 return ret;
64}
65
66static void _FCEU_free(void* ptr)
67{

Callers 2

FCEU_gmallocFunction · 0.85
FCEU_mallocFunction · 0.85

Calls 1

FCEU_abortFunction · 0.85

Tested by

no test coverage detected