diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-03-13 15:11:32 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-03-13 15:11:32 +0000 |
commit | 7888b56b928707329a84a61eca8f8e75ef6a745a (patch) | |
tree | e4603f29da8e9175c45f5852020483bc0fe56378 /fitz/dev_text.c | |
parent | 7fa60e876f733f3bd90787145d9a7eb0eb91e9a2 (diff) | |
download | mupdf-7888b56b928707329a84a61eca8f8e75ef6a745a.tar.xz |
Make fz_print functions all take a FILE *.
Also tidy up the taking of fz_context *'s, and hide an unwanted indent
param.
Diffstat (limited to 'fitz/dev_text.c')
-rw-r--r-- | fitz/dev_text.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fitz/dev_text.c b/fitz/dev_text.c index bb6aaac9..7a059e5a 100644 --- a/fitz/dev_text.c +++ b/fitz/dev_text.c @@ -597,7 +597,7 @@ fz_print_style(FILE *out, fz_text_style *style) } void -fz_print_text_sheet(FILE *out, fz_text_sheet *sheet) +fz_print_text_sheet(fz_context *ctx, FILE *out, fz_text_sheet *sheet) { fz_text_style *style; for (style = sheet->style; style; style = style->next) @@ -605,7 +605,7 @@ fz_print_text_sheet(FILE *out, fz_text_sheet *sheet) } void -fz_print_text_page_html(FILE *out, fz_text_page *page) +fz_print_text_page_html(fz_context *ctx, FILE *out, fz_text_page *page) { int block_n, line_n, span_n, ch_n; fz_text_style *style = NULL; @@ -661,7 +661,7 @@ fz_print_text_page_html(FILE *out, fz_text_page *page) } void -fz_print_text_page_xml(FILE *out, fz_text_page *page) +fz_print_text_page_xml(fz_context *ctx, FILE *out, fz_text_page *page) { fz_text_block *block; fz_text_line *line; @@ -716,7 +716,7 @@ fz_print_text_page_xml(FILE *out, fz_text_page *page) } void -fz_print_text_page(FILE *out, fz_text_page *page) +fz_print_text_page(fz_context *ctx, FILE *out, fz_text_page *page) { fz_text_block *block; fz_text_line *line; |