diff options
Diffstat (limited to 'src/node.c')
-rw-r--r-- | src/node.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -475,6 +475,14 @@ cmark_node_get_end_line(cmark_node *node) { return node->end_line; } +int +cmark_node_get_end_column(cmark_node *node) { + if (node == NULL) { + return 0; + } + return node->end_column; +} + static inline bool S_is_block(cmark_node *node) { if (node == NULL) { |