MCPcopy Create free account
hub / github.com/acl-dev/acl / mempool_malloc

Function mempool_malloc

lib_acl/src/stdlib/memory/acl_mempool.c:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55static ACL_ALLOCATOR *__var_allocator = NULL;
56
57static void *mempool_malloc(const char *filename, int line, size_t size)
58{
59 return (acl_allocator_membuf_alloc(filename, line, __var_allocator, size));
60}
61
62static void *mempool_calloc(const char *filename, int line, size_t nmemb, size_t size)
63{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…