mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-23 15:00:34 +01:00
Improved comment.
Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
parent
cf86c74870
commit
7ce19b0bc8
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue