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

Function setup_option_allocators

common/configdir.c:182–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void setup_option_allocators(void)
183{
184 /*~ These functions make ccan/opt use tal for allocations */
185 opt_set_alloc(opt_allocfn, tal_reallocfn, tal_freefn);
186}
187
188static void parse_configvars(struct configvar **cvs,
189 bool early,

Callers 3

handle_early_optsFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

opt_set_allocFunction · 0.85

Tested by

no test coverage detected