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)) sizeof(**(arg))
/* /*
* Similar to param_req but for optional parameters. * Similar to param_req but for optional parameters with defaults.
* If not found during parsing, @arg will be set to @def. * @arg will be set to @def if it isn't found during parsing.
* allocated, otherwise it will be set to NULL.
*/ */
#define param_opt_default(name, cb, arg, def) \ #define param_opt_default(name, cb, arg, def) \
name"", \ name"", \

Loading…
Cancel
Save