summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-05-13 16:08:43 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-05-13 16:08:43 -0700
commita673aff562d88d9e56d41c9d9016b0a006d5beae (patch)
treee71170c98cda3bd04125e1297c3aa656e91b996a /src
parent2d55154304f91b0559214565bcfd5729cff8f8e7 (diff)
Comment out unused function cmark_strbuf_cstr in buffer.h
Diffstat (limited to 'src')
-rw-r--r--src/buffer.h4
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])