diff options
author | Mathieu Duponchelle <MathieuDuponchelle@users.noreply.github.com> | 2016-12-20 22:00:17 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-12-20 16:00:17 -0500 |
commit | 9e643720ec903f3b448bd2589a0c02c2514805ae (patch) | |
tree | 5ee8793c56f141821b0039920c2f7cd0b8b544f9 /src/inlines.h | |
parent | 29c46c5aeda66e9c454ac8d802e65692d0bab566 (diff) |
More sourcepos! (#169)
* open_new_blocks: always create child before advancing offset
* Source map
* Extent's typology
* In-depth python bindings
Diffstat (limited to 'src/inlines.h')
-rw-r--r-- | src/inlines.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/inlines.h b/src/inlines.h index 52be768..8de31b1 100644 --- a/src/inlines.h +++ b/src/inlines.h @@ -1,6 +1,10 @@ #ifndef CMARK_INLINES_H #define CMARK_INLINES_H +#include "chunk.h" +#include "references.h" +#include "source_map.h" + #ifdef __cplusplus extern "C" { #endif @@ -9,10 +13,13 @@ cmark_chunk cmark_clean_url(cmark_mem *mem, cmark_chunk *url); cmark_chunk cmark_clean_title(cmark_mem *mem, cmark_chunk *title); void cmark_parse_inlines(cmark_mem *mem, cmark_node *parent, - cmark_reference_map *refmap, int options); + cmark_reference_map *refmap, int options, + cmark_source_map *source_map, uint64_t total_length); bufsize_t cmark_parse_reference_inline(cmark_mem *mem, cmark_strbuf *input, - cmark_reference_map *refmap); + cmark_reference_map *refmap, + cmark_node *root, + cmark_source_map *source_map); #ifdef __cplusplus } |