diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-30 09:36:53 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-30 09:36:53 -0800 |
commit | e7f6e01fd3a6ad6bbfdd76ea1f8c4eba718ae9b0 (patch) | |
tree | a12f98d6dea2fd5bb5272a3fcf5973ac861a2f86 /src/main.c | |
parent | 2f1e4e0edb581927b25aeba9972ed71b4605a2ba (diff) |
Renamed cmark_parser_push -> cmark_parser_feed.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,7 +70,7 @@ int main(int argc, char *argv[]) start_timer(); while ((bytes = fread(buffer, 1, sizeof(buffer), fp)) > 0) { - cmark_parser_push(parser, buffer, bytes); + cmark_parser_feed(parser, buffer, bytes); } end_timer("processing lines"); @@ -85,7 +85,7 @@ int main(int argc, char *argv[]) */ while ((bytes = fread(buffer, 1, sizeof(buffer), stdin)) > 0) { - cmark_parser_push(parser, buffer, bytes); + cmark_parser_feed(parser, buffer, bytes); } } |