]> git.notmuchmail.org Git - notmuch/commitdiff
sprinter: Add a string_len method
authorAustin Clements <amdragon@MIT.EDU>
Fri, 3 Aug 2012 01:14:49 +0000 (21:14 -0400)
committerDavid Bremner <bremner@debian.org>
Fri, 3 Aug 2012 23:21:29 +0000 (20:21 -0300)
This method allows callers to output strings with specific lengths.
It's useful both for strings with embedded NULs (which JSON can
represent, though parser support is apparently spotty), and
non-terminated strings.


No differences found