diff options
-rw-r--r-- | src/cmark.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cmark.h b/src/cmark.h index 419ef15..1fb8668 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -7,6 +7,10 @@ #include "chunk.h" #include "references.h" +#ifdef __cplusplus +extern "C" { +#endif + #define VERSION "0.1" #define CODE_INDENT 4 @@ -114,4 +118,8 @@ void cmark_free_nodes(node_block *e); void cmark_debug_print(node_block *root); void cmark_render_html(strbuf *html, node_block *root); +#ifdef __cplusplus +} +#endif + #endif |