Improved comment.

Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
Mark Beckwith 2018-07-11 09:17:06 -05:00 committed by Rusty Russell
parent cf86c74870
commit 7ce19b0bc8

View file

@ -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"", \