summaryrefslogtreecommitdiff
path: root/include
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
parent1be84ed1d4fbe44387222995a124a4f84ee55210 (diff)
downloadmupdf-67781c58fef0f94ea234341cea8e7e13646bc4a2.tar.xz
some renames
Diffstat (limited to 'include')
-rw-r--r--include/fitz/base.h2
-rw-r--r--include/fitz/colorspace.h2
-rw-r--r--include/fitz/filter.h6
-rw-r--r--include/fitz/font.h2
-rw-r--r--include/fitz/image.h2
-rw-r--r--include/fitz/object.h2
-rw-r--r--include/fitz/tree.h2
7 files changed, 9 insertions, 9 deletions
diff --git a/include/fitz/base.h b/include/fitz/base.h
index e08b2f09..d1c5343a 100644
--- a/include/fitz/base.h
+++ b/include/fitz/base.h
@@ -25,7 +25,7 @@ typedef struct fz_error_s fz_error;
struct fz_error_s
{
- int nrefs;
+ int refs;
char msg[184];
char file[32];
char func[32];
diff --git a/include/fitz/colorspace.h b/include/fitz/colorspace.h
index ec4d019c..322b96c8 100644
--- a/include/fitz/colorspace.h
+++ b/include/fitz/colorspace.h
@@ -6,7 +6,7 @@ typedef struct fz_colorcube4_s fz_colorcube4;
struct fz_colorspace_s
{
- int nrefs;
+ int refs;
char name[16];
int n;
void (*toxyz)(fz_colorspace *, float *src, float *xyz);
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;
diff --git a/include/fitz/font.h b/include/fitz/font.h
index fb29e1c2..ea1ad692 100644
--- a/include/fitz/font.h
+++ b/include/fitz/font.h
@@ -22,7 +22,7 @@ struct fz_vmtx_s
struct fz_font_s
{
- int nrefs;
+ int refs;
char name[32];
fz_error* (*render)(fz_glyph*, fz_font*, int, fz_matrix);
diff --git a/include/fitz/image.h b/include/fitz/image.h
index 6debfaa5..89d180ba 100644
--- a/include/fitz/image.h
+++ b/include/fitz/image.h
@@ -4,7 +4,7 @@ typedef struct fz_image_s fz_image;
struct fz_image_s
{
- int nrefs;
+ int refs;
fz_error* (*loadtile)(fz_image*,fz_pixmap*);
void (*drop)(fz_image*);
fz_colorspace *cs;
diff --git a/include/fitz/object.h b/include/fitz/object.h
index 014dc33d..41025b8b 100644
--- a/include/fitz/object.h
+++ b/include/fitz/object.h
@@ -24,7 +24,7 @@ struct fz_keyval_s
struct fz_obj_s
{
- unsigned short nrefs;
+ unsigned short refs;
unsigned short kind; /* fz_objkind takes 4 bytes :( */
union
{
diff --git a/include/fitz/tree.h b/include/fitz/tree.h
index af9fc36c..b5cd8c8e 100644
--- a/include/fitz/tree.h
+++ b/include/fitz/tree.h
@@ -3,7 +3,7 @@ typedef struct fz_node_s fz_node;
struct fz_tree_s
{
- int nrefs;
+ int refs;
fz_node *root;
fz_node *head;
};