aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-13 22:15:20 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-13 22:15:20 -0800
commit9ba42f1a8b93237ea4bfc05f29972c3c3922ebaa (patch)
treecdf21d9d9fa1ab65dfdbc81deee190b24a8adeba /src
parent2562c734da6da6bd57ef6a2179a2eb22dda7b126 (diff)
Make basic functions in cmark.h visible.
Diffstat (limited to 'src')
-rw-r--r--src/cmark.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmark.h b/src/cmark.h
index 07cee14..7371d33 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -15,12 +15,19 @@ extern "C" {
#define CMARK_MAX_LINK_LABEL_LENGTH 1000
+__attribute__((visibility("default")))
cmark_node_block *cmark_parse_document(const unsigned char *buffer, size_t len);
+
+__attribute__((visibility("default")))
cmark_node_block *cmark_parse_file(FILE *f);
+__attribute__((visibility("default")))
void cmark_debug_print(cmark_node_block *root);
+
+__attribute__((visibility("default")))
void cmark_render_html(cmark_strbuf *html, cmark_node_block *root);
+__attribute__((visibility("default")))
unsigned char *cmark_markdown_to_html(unsigned char *text, int len);
#ifndef CMARK_NO_SHORT_NAMES