diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-05-13 16:08:43 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-05-13 16:08:43 -0700 |
commit | a673aff562d88d9e56d41c9d9016b0a006d5beae (patch) | |
tree | e71170c98cda3bd04125e1297c3aa656e91b996a | |
parent | 2d55154304f91b0559214565bcfd5729cff8f8e7 (diff) |
Comment out unused function cmark_strbuf_cstr in buffer.h
-rw-r--r-- | src/buffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h index e878075..55b552f 100644 --- 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]) |