vmg / sundown

Standards compliant, fast, secure markdown processing library in C
1.99k stars 385 forks source link

Enforcing `const` on the renderer API #65

Closed brief closed 13 years ago

brief commented 13 years ago

Believe you missed one in markdown.c:

int (*render_method)(struct buf *ob, struct buf *text, void *opaque);

should be:

int (*render_method)(struct buf *ob, const struct buf *text, void *opaque);
brief commented 13 years ago

Submitted a pull request with the fix.