summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-11-16 10:46:23 +0100
committerTor Andersson <tor@ghostscript.com>2004-11-16 10:46:23 +0100
commitd4de3f89649314eb58f779763ee99b62688ff3ec (patch)
tree21d81bbe5a49df69c428e4e35b242e0ff07e27d8 /include
parent3b425b8bf0c58e25da576ed86496171ea19240f9 (diff)
downloadmupdf-d4de3f89649314eb58f779763ee99b62688ff3ec.tar.xz
changed order of child nodes in over/mask
Diffstat (limited to 'include')
-rw-r--r--include/fitz/base.h2
-rw-r--r--include/fitz/render.h3
-rw-r--r--include/fitz/tree.h3
3 files changed, 3 insertions, 5 deletions
diff --git a/include/fitz/base.h b/include/fitz/base.h
index 4741f297..da0132d4 100644
--- a/include/fitz/base.h
+++ b/include/fitz/base.h
@@ -37,7 +37,7 @@ extern fz_error fz_koutofmem;
#ifdef WIN32
#define fz_throw(...) fz_throw0(__FUNCTION__, __FILE__, __LINE__, __VA_ARGS__)
-#elif _ISOC99_SOURCE
+#elif HAVE_C99
#define fz_throw(...) fz_throw0(__func__, __FILE__, __LINE__, __VA_ARGS__)
#else
#define fz_throw fz_throw1
diff --git a/include/fitz/render.h b/include/fitz/render.h
index 53030a9c..05b7daaf 100644
--- a/include/fitz/render.h
+++ b/include/fitz/render.h
@@ -1,14 +1,11 @@
typedef struct fz_renderer_s fz_renderer;
-enum { FZ_RNONE, FZ_ROVER, FZ_RMASK };
-
struct fz_renderer_s
{
fz_colorspace *model;
fz_glyphcache *cache;
fz_gel *gel;
fz_ael *ael;
- int mode;
fz_irect clip;
fz_pixmap *tmp;
fz_pixmap *acc;
diff --git a/include/fitz/tree.h b/include/fitz/tree.h
index eebf2c38..57175619 100644
--- a/include/fitz/tree.h
+++ b/include/fitz/tree.h
@@ -76,7 +76,8 @@ struct fz_node_s
{
fz_nodekind kind;
fz_node *parent;
- fz_node *child;
+ fz_node *first;
+ fz_node *last;
fz_node *next;
};