On Thu, Jul 12 2012, [email protected] wrote: > This patch adds a new type sprinter_t, which is used for structured > formatting, e.g. JSON or S-Expressions. The structure printer is the > code from Austin Clements (id:[email protected]).
... > + > +/* Create a new structure printer that emits JSON */ > +struct sprinter * > +sprinter_json_new(const void *ctx, FILE *stream); > + > +/* A dummy structure printer that signifies that standard text output is > + * to be used instead of any structured format. > + */ > +struct sprinter * > +sprinter_text; Looks good... but this needs to be 'extern struct sprinter * sprinter_text;' see id:"[email protected]" for reference. > + > +#endif // NOTMUCH_SPRINTER_H > -- > 1.7.11.1 Tomi _______________________________________________ notmuch mailing list [email protected] http://notmuchmail.org/mailman/listinfo/notmuch
