Browse Source

Improved comment.

Signed-off-by: Mark Beckwith <wythe@intrig.com>
ppa-0.6.1
Mark Beckwith 7 years ago
committed by Rusty Russell
parent
commit
7ce19b0bc8
  1. 5
      lightningd/params.h

5
lightningd/params.h

@ -81,9 +81,8 @@ typedef bool(*param_cb)(const char *buffer, const jsmntok_t *tok, void *arg);
sizeof(**(arg))
/*
* Similar to param_req but for optional parameters.
* If not found during parsing, @arg will be set to @def.
* allocated, otherwise it will be set to NULL.
* Similar to param_req but for optional parameters with defaults.
* @arg will be set to @def if it isn't found during parsing.
*/
#define param_opt_default(name, cb, arg, def) \
name"", \

Loading…
Cancel
Save