diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-07-12 14:58:08 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-07-12 14:58:08 -0700 |
commit | 9219938929274df6398dfe6b9356fd8bbb3d565b (patch) | |
tree | 3407d63aec175d0f14377056b24b157d5d2b0352 /src/latex.c | |
parent | ff2c9dc143b730a0fa5cfeddec0c355edba72e51 (diff) |
Removed options field from renderer struct.
Added options argument to render_node function, and rearrange
argument order.
Diffstat (limited to 'src/latex.c')
-rw-r--r-- | src/latex.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/latex.c b/src/latex.c index e7a74d7..4fd1199 100644 --- a/src/latex.c +++ b/src/latex.c @@ -258,8 +258,10 @@ S_get_enumlevel(cmark_node *node) } static int -S_render_node(cmark_node *node, cmark_event_type ev_type, - cmark_renderer *renderer) +S_render_node(cmark_renderer *renderer, + cmark_node *node, + cmark_event_type ev_type, + int options) { int list_number; char list_number_string[20]; @@ -269,6 +271,9 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, "vi", "vii", "viii", "ix", "x" }; + // avoid warning about unused parameter: + (void)(options); + switch (node->type) { case CMARK_NODE_DOCUMENT: break; |