MCPcopy Create free account
hub / github.com/ElementsProject/lightning / realloc_test

Function realloc_test

ccan/ccan/membuf/test/run.c:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void *realloc_test(void *ptr, size_t size)
17{
18 num_realloc++;
19 return realloc(ptr, size);
20}
21
22#undef memmove
23#define memmove memmove_test

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected