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

Function membuf_tal_resize

common/utils.c:249–255  ·  view source on GitHub ↗

Realloc helper for tal membufs */

Source from the content-addressed store, hash-verified

247
248/* Realloc helper for tal membufs */
249void *membuf_tal_resize(struct membuf *mb, void *rawelems, size_t newsize)
250{
251 char *p = rawelems;
252
253 tal_resize(&p, newsize);
254 return p;
255}
256

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected