diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-11-12 18:03:16 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-11-12 19:31:41 +0100 |
commit | 10b9abc7d20cd3834e87896a056db79a5cdfb1eb (patch) | |
tree | b07252052e8e2b4ba32fe7a8e472a92a830e2ae1 | |
parent | e9ba8f064cb61239be6432ec60ab2ced3d9d339f (diff) |
Prefix names in inlines.h
-rw-r--r-- | src/inlines.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/inlines.h b/src/inlines.h index 042172f..93a1dc6 100644 --- a/src/inlines.h +++ b/src/inlines.h @@ -1,13 +1,22 @@ #ifndef _INLINES_H_ #define _INLINES_H_ -unsigned char *clean_url(cmark_chunk *url); -unsigned char *clean_autolink(cmark_chunk *url, int is_email); -unsigned char *clean_title(cmark_chunk *title); +unsigned char *cmark_clean_url(cmark_chunk *url); +unsigned char *cmark_clean_autolink(cmark_chunk *url, int is_email); +unsigned char *cmark_clean_title(cmark_chunk *title); -node_inl* parse_inlines(cmark_strbuf *input, reference_map *refmap); -void free_inlines(node_inl* e); +node_inl* cmark_parse_inlines(cmark_strbuf *input, reference_map *refmap); +void cmark_free_inlines(node_inl* e); -int parse_reference_inline(cmark_strbuf *input, reference_map *refmap); +int cmark_parse_reference_inline(cmark_strbuf *input, reference_map *refmap); + +#ifndef CMARK_NO_SHORT_NAMES + #define clean_url cmark_clean_url + #define clean_autolink cmark_clean_autolink + #define clean_title cmark_clean_title + #define parse_inlines cmark_parse_inlines + #define free_inlines cmark_free_inlines + #define parse_reference_inline cmark_parse_reference_inline +#endif #endif |