diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-30 10:19:24 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-30 10:19:24 -0800 |
commit | 7686b7dad5c80d494b993158def220aa8b61ac6e (patch) | |
tree | 09074d13fa0f8e76feb697a70657757481190f36 /man/man3 | |
parent | ec8683da993c3f73f6934769ea12911a293e15b0 (diff) |
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.
Diffstat (limited to 'man/man3')
-rw-r--r-- | man/man3/cmark.3 | 16 |
1 files changed, 5 insertions, 11 deletions
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,6 +62,10 @@ 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 @@ -69,10 +73,6 @@ cmark_node_free(cmark_node\ *node); .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 |