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

Function plugin_option_jsonfmt_check

plugins/libplugin.h:579–585  ·  view source on GitHub ↗

Simply exists to check that `jsonfmt` to plugin_option* is correct type */

Source from the content-addressed store, hash-verified

577
578/* Simply exists to check that `jsonfmt` to plugin_option* is correct type */
579static inline void *plugin_option_jsonfmt_check(bool (*jsonfmt)(struct command *,
580 struct json_stream *,
581 const char *,
582 void *))
583{
584 return jsonfmt;
585}
586
587/* Is --developer enabled? */
588bool plugin_developer_mode(const struct plugin *plugin);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected