- Commit
- a673aff562d88d9e56d41c9d9016b0a006d5beae
- Parent
- 2d55154304f91b0559214565bcfd5729cff8f8e7
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Comment out unused function cmark_strbuf_cstr in buffer.h
My personal build of CMark ✏️
Comment out unused function cmark_strbuf_cstr in buffer.h
1 file changed, 3 insertions, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/buffer.h | 4 | 3 | 1 |
diff --git a/src/buffer.h b/src/buffer.h @@ -51,9 +51,11 @@ unsigned char *cmark_strbuf_detach(cmark_strbuf *buf); void cmark_strbuf_copy_cstr(char *data, bufsize_t datasize, const cmark_strbuf *buf); +/* static CMARK_INLINE const char *cmark_strbuf_cstr(const cmark_strbuf *buf) { - return (char *)buf->ptr; + return (char *)buf->ptr; } +*/ #define cmark_strbuf_at(buf, n) ((buf)->ptr[n])