MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / hoedown_calloc

Function hoedown_calloc

libraries/hoedown/src/buffer.c:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void *
22hoedown_calloc(size_t nmemb, size_t size)
23{
24 void *ret = calloc(nmemb, size);
25
26 if (!ret) {
27 fprintf(stderr, "Allocation failed.\n");
28 abort();
29 }
30
31 return ret;
32}
33
34void *
35hoedown_realloc(void *ptr, size_t size)

Callers 4

add_link_refFunction · 0.85
create_footnote_refFunction · 0.85
add_footnote_refFunction · 0.85
parse_table_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected