summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2020-01-19 13:45:40 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2020-01-23 08:25:54 -0800
commit3ef0718f9f4c9dea5014a8a0e9a67e2366b9374f (patch)
treea5af5d11074d28c2d1c99d1508b1e3760e82884c /src/node.h
parent68a3f24d93ed63fd1545c691442d69630649eadb (diff)
Improve packing of struct cmark_list
Allows to reduce size of struct cmark_node later.
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 fbf449c..ee0ff41 100644
--- a/src/node.h
+++ b/src/node.h
@@ -17,11 +17,11 @@ typedef struct {
} cmark_literal;
typedef struct {
- cmark_list_type list_type;
int marker_offset;
int padding;
int start;
- cmark_delim_type delimiter;
+ unsigned char list_type;
+ unsigned char delimiter;
unsigned char bullet_char;
bool tight;
} cmark_list;