From 7686b7dad5c80d494b993158def220aa8b61ac6e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 30 Nov 2014 10:19:24 -0800 Subject: Updated make_man_page.py to use C89 comments. See #224. TODO: change this to create the man page directly (not via markdown intermediary) and parse signatures into .Ft, .Fo, .Fa, .Fc, .Fd. --- man/man3/cmark.3 | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'man/man3') diff --git a/man/man3/cmark.3 b/man/man3/cmark.3 index 418d333..ded9860 100644 --- a/man/man3/cmark.3 +++ b/man/man3/cmark.3 @@ -26,7 +26,7 @@ null\-terminated, UTF\-8\-encoded string. .nf \f[C] typedef\ enum\ { -\ \ \ \ //\ Block +\ \ \ \ /*\ Block\ */ \ \ \ \ CMARK_NODE_DOCUMENT, \ \ \ \ CMARK_NODE_BLOCK_QUOTE, \ \ \ \ CMARK_NODE_LIST, @@ -62,16 +62,16 @@ cmark_node_new(cmark_node_type\ type); void cmark_node_free(cmark_node\ *node); + + +cmark_node* +cmark_node_next(cmark_node\ *node); \f[] .fi .SH TREE TRAVERSAL .IP .nf \f[C] -cmark_node* -cmark_node_next(cmark_node\ *node); - - cmark_node* cmark_node_previous(cmark_node\ *node); @@ -203,23 +203,18 @@ cmark_node_append_child(cmark_node\ *node,\ cmark_node\ *child); cmark_parser\ *cmark_parser_new(); - void\ cmark_parser_free(cmark_parser\ *parser); - cmark_node\ *cmark_parser_finish(cmark_parser\ *parser); - void\ cmark_parser_feed(cmark_parser\ *parser,\ const\ char\ *buffer,\ size_t\ len); - cmark_node\ *cmark_parse_document(const\ char\ *buffer,\ size_t\ len); - cmark_node\ *cmark_parse_file(FILE\ *f); \f[] .fi @@ -230,7 +225,6 @@ cmark_node\ *cmark_parse_file(FILE\ *f); char\ *cmark_render_ast(cmark_node\ *root); - char\ *cmark_render_html(cmark_node\ *root); \f[] .fi -- cgit v1.2.3