diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2020-01-18 23:37:32 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-01-23 08:25:54 -0800 |
commit | 75b48c5938f5984dbcf79a579d15c9cbd6447d12 (patch) | |
tree | 7c97c1d4fbcb6b7230e1d4893a2c3eff766fe0bc /src/node.h | |
parent | b237924585e61532ada774bf9e70eadff00666dc (diff) |
Use C string instead of chunk for custom block contents
Reduces size of struct cmark_node by 8 bytes.
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,8 +42,8 @@ typedef struct { } cmark_link; typedef struct { - cmark_chunk on_enter; - cmark_chunk on_exit; + unsigned char *on_enter; + unsigned char *on_exit; } cmark_custom; enum cmark_node__internal_flags { |