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

Function setup_option_allocators

common/configdir.c:246–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246void setup_option_allocators(void)
247{
248 /*~ These functions make ccan/opt use tal for allocations */
249 opt_set_alloc(opt_allocfn, tal_reallocfn, tal_freefn);
250}
251
252/* network is NULL for parsing top-level config file. */
253static void parse_implied_config_file(const char *config_basedir,

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