mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 23:04:35 +01:00
doc: discourage use of json_tok_tok
Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
committed by
Christian Decker
parent
6aa511fa7a
commit
33359e4a82
@@ -64,6 +64,9 @@ bool json_tok_u64(struct command *cmd, const char *name,
|
||||
/*
|
||||
* Set the address of @out to @tok. Used as a callback by handlers that
|
||||
* want to unmarshal @tok themselves.
|
||||
*
|
||||
* Usage of this is discouraged. Writing a local static bespoke handler is
|
||||
* preferred.
|
||||
*/
|
||||
bool json_tok_tok(struct command *cmd, const char *name,
|
||||
const char *buffer, const jsmntok_t * tok,
|
||||
|
||||
Reference in New Issue
Block a user