summaryrefslogtreecommitdiff
path: root/pdf/pdf_function.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-01-27 14:16:58 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-01-27 14:18:22 +0100
commit03b276d3f2db3feecb522f101e0da065c4af53d4 (patch)
tree512eabad1f8b5516003c254c5cf10439ba79a98c /pdf/pdf_function.c
parent40575c42719566f3585c5aa67129a8a5b7285aa7 (diff)
downloadmupdf-03b276d3f2db3feecb522f101e0da065c4af53d4.tar.xz
Rename pdf_xref type to pdf_document.
Diffstat (limited to 'pdf/pdf_function.c')
-rw-r--r--pdf/pdf_function.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pdf/pdf_function.c b/pdf/pdf_function.c
index 7111cae7..34b419e5 100644
--- a/pdf/pdf_function.c
+++ b/pdf/pdf_function.c
@@ -816,7 +816,7 @@ parse_code(pdf_function *func, fz_stream *stream, int *codeptr)
}
static void
-load_postscript_func(pdf_function *func, pdf_xref *xref, fz_obj *dict, int num, int gen)
+load_postscript_func(pdf_function *func, pdf_document *xref, fz_obj *dict, int num, int gen)
{
fz_stream *stream = NULL;
int codeptr;
@@ -884,7 +884,7 @@ eval_postscript_func(fz_context *ctx, pdf_function *func, float *in, float *out)
*/
static void
-load_sample_func(pdf_function *func, pdf_xref *xref, fz_obj *dict, int num, int gen)
+load_sample_func(pdf_function *func, pdf_document *xref, fz_obj *dict, int num, int gen)
{
fz_context *ctx = xref->ctx;
fz_stream *stream;
@@ -1169,7 +1169,7 @@ eval_exponential_func(fz_context *ctx, pdf_function *func, float in, float *out)
*/
static void
-load_stitching_func(pdf_function *func, pdf_xref *xref, fz_obj *dict)
+load_stitching_func(pdf_function *func, pdf_document *xref, fz_obj *dict)
{
fz_context *ctx = xref->ctx;
pdf_function **funcs;
@@ -1340,7 +1340,7 @@ pdf_function_size(pdf_function *func)
}
pdf_function *
-pdf_load_function(pdf_xref *xref, fz_obj *dict)
+pdf_load_function(pdf_document *xref, fz_obj *dict)
{
fz_context *ctx = xref->ctx;
pdf_function *func;