summaryrefslogtreecommitdiff
path: root/source/fitz/colorspace-impl.h
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2016-09-28 22:25:16 -0400
committerRobin Watts <robin.watts@artifex.com>2016-10-06 11:54:10 +0100
commit80d6490e6d54f822de6d36219ce08e6a8ad33137 (patch)
treeb3b5bf787b1454e82275be0b452c4edc8ce432de /source/fitz/colorspace-impl.h
parent994770e2010e21cd8f90bacc34b9fae8a6350a40 (diff)
downloadmupdf-80d6490e6d54f822de6d36219ce08e6a8ad33137.tar.xz
Hide internals of fz_colorspace
The implementation does not need to be in the public API.
Diffstat (limited to 'source/fitz/colorspace-impl.h')
-rw-r--r--source/fitz/colorspace-impl.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/fitz/colorspace-impl.h b/source/fitz/colorspace-impl.h
new file mode 100644
index 00000000..1ce2e167
--- /dev/null
+++ b/source/fitz/colorspace-impl.h
@@ -0,0 +1,16 @@
+#ifndef MUPDF_FITZ_COLORSPACE_IMPL_H
+#define MUPDF_FITZ_COLORSPACE_IMPL_H
+
+struct fz_colorspace_s
+{
+ fz_storable storable;
+ size_t size;
+ char name[16];
+ int n;
+ fz_colorspace_convert_fn *to_rgb;
+ fz_colorspace_convert_fn *from_rgb;
+ fz_colorspace_destruct_fn *free_data;
+ void *data;
+};
+
+#endif