diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-13 22:15:20 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-13 22:15:20 -0800 |
commit | 9ba42f1a8b93237ea4bfc05f29972c3c3922ebaa (patch) | |
tree | cdf21d9d9fa1ab65dfdbc81deee190b24a8adeba /src | |
parent | 2562c734da6da6bd57ef6a2179a2eb22dda7b126 (diff) |
Make basic functions in cmark.h visible.
Diffstat (limited to 'src')
-rw-r--r-- | src/cmark.h | 7 |
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 |