summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-05-14 08:12:13 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-05-14 08:12:13 -0700
commit0e4769d5c1e254fa1747701d2da708d0cb61d0c3 (patch)
tree4a7b13b50456cc57743a1bedbbb5285605817479 /src/node.h
parent5ba5740f7e4404c0111a37f77db42c105740a6ff (diff)
parenteada41977a4dc6da389d3bdefe7116ac2b1d75bd (diff)
Merge pull request #38 from nwellnhof/chunks_for_links
Store link URL and title as cmark_chunk
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node.h b/src/node.h
index 7a45d42..911a18f 100644
--- a/src/node.h
+++ b/src/node.h
@@ -38,8 +38,8 @@ typedef struct {
} cmark_header;
typedef struct {
- unsigned char *url;
- unsigned char *title;
+ cmark_chunk url;
+ cmark_chunk title;
} cmark_link;
struct cmark_node {