summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mupdf/fitz/text.h')
-rw-r--r--include/mupdf/fitz/text.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mupdf/fitz/text.h b/include/mupdf/fitz/text.h
index 302678cd..090d372d 100644
--- a/include/mupdf/fitz/text.h
+++ b/include/mupdf/fitz/text.h
@@ -46,12 +46,12 @@ struct fz_text_s
};
fz_text *fz_new_text(fz_context *ctx);
-fz_text *fz_keep_text(fz_context *ctx, fz_text *text);
-void fz_drop_text(fz_context *ctx, fz_text *text);
+fz_text *fz_keep_text(fz_context *ctx, const fz_text *text);
+void fz_drop_text(fz_context *ctx, const fz_text *text);
void fz_add_text(fz_context *ctx, fz_text *text, fz_font *font, int wmode, const fz_matrix *trm, int gid, int ucs);
-fz_rect *fz_bound_text(fz_context *ctx, fz_text *text, const fz_stroke_state *stroke, const fz_matrix *ctm, fz_rect *r);
+fz_rect *fz_bound_text(fz_context *ctx, const fz_text *text, const fz_stroke_state *stroke, const fz_matrix *ctm, fz_rect *r);
-fz_text *fz_clone_text(fz_context *ctx, fz_text *text);
+fz_text *fz_clone_text(fz_context *ctx, const fz_text *text);
#endif