Skip to content

Commit

Permalink
Document %.*Q
Browse files Browse the repository at this point in the history
PUBLISHED_FROM=bc63673def70218cdfe396a2d2ac06137607a7f2
  • Loading branch information
cpq authored and cesantabot committed Dec 23, 2016
1 parent c73ae05 commit d3c11e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frozen.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ typedef int (*json_printf_callback_t)(struct json_out *, va_list *ap);
* This is a superset of printf() function, with extra format specifiers:
* - `%B` print json boolean, `true` or `false`. Accepts an `int`.
* - `%Q` print quoted escaped string or `null`. Accepts a `const char *`.
* - `%.*Q` same as `%Q`, but with length. Accepts `int`, `const char *`
* - `%V` print quoted base64-encoded string. Accepts a `const char *`, `int`.
* - `%M` invokes a json_printf_callback_t function. That callback function
* can consume more parameters.
Expand Down

0 comments on commit d3c11e0

Please sign in to comment.