summaryrefslogtreecommitdiff
path: root/include/fitz/filter.h
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-11-12 07:01:39 +0100
committerTor Andersson <tor@ghostscript.com>2004-11-12 07:01:39 +0100
commit67781c58fef0f94ea234341cea8e7e13646bc4a2 (patch)
tree97504921cb5ac011a8c06ca4964b1d333f6c5ac1 /include/fitz/filter.h
parent1be84ed1d4fbe44387222995a124a4f84ee55210 (diff)
downloadmupdf-67781c58fef0f94ea234341cea8e7e13646bc4a2.tar.xz
some renames
Diffstat (limited to 'include/fitz/filter.h')
-rw-r--r--include/fitz/filter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/fitz/filter.h b/include/fitz/filter.h
index 7f45bd34..03cb5f1f 100644
--- a/include/fitz/filter.h
+++ b/include/fitz/filter.h
@@ -17,7 +17,7 @@ extern fz_error fz_kiodone;
TYPE *VAR; \
*fp = fz_malloc(sizeof(TYPE)); \
if (!*fp) return fz_outofmem; \
- (*fp)->nrefs = 1; \
+ (*fp)->refs = 1; \
(*fp)->process = fz_process ## NAME ; \
(*fp)->drop = fz_drop ## NAME ; \
(*fp)->consumed = 0; \
@@ -27,7 +27,7 @@ extern fz_error fz_kiodone;
struct fz_filter_s
{
- int nrefs;
+ int refs;
fz_error* (*process)(fz_filter *filter, fz_buffer *in, fz_buffer *out);
void (*drop)(fz_filter *filter);
int consumed;
@@ -37,7 +37,7 @@ struct fz_filter_s
struct fz_buffer_s
{
- int nrefs;
+ int refs;
int ownsdata;
unsigned char *bp;
unsigned char *rp;