diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-11-11 16:30:59 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-11-14 16:09:40 +0000 |
commit | 7703ad8b2564f2f3a99b85eca5af276d7ba0e3e4 (patch) | |
tree | abda358d9d039ba76d570a34b7c16d4b79a33724 /include/mupdf/fitz/shade.h | |
parent | 37f95f87bdfb2e0b01d649afae5fffe60bf99d3a (diff) | |
download | mupdf-7703ad8b2564f2f3a99b85eca5af276d7ba0e3e4.tar.xz |
More API tweaks.
Move internal functions from public to private headers.
Diffstat (limited to 'include/mupdf/fitz/shade.h')
-rw-r--r-- | include/mupdf/fitz/shade.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/mupdf/fitz/shade.h b/include/mupdf/fitz/shade.h index 5358cde2..871a62c7 100644 --- a/include/mupdf/fitz/shade.h +++ b/include/mupdf/fitz/shade.h @@ -24,9 +24,11 @@ enum FZ_MESH_TYPE7 = 7 }; -typedef struct fz_shade_s fz_shade; - -struct fz_shade_s +/* + Structure is public to allow derived classes. Do not + access the members directly. +*/ +typedef struct fz_shade_s { fz_storable storable; @@ -70,7 +72,7 @@ struct fz_shade_s } u; fz_compressed_buffer *buffer; -}; +} fz_shade; /* fz_keep_shade: Add a reference to an fz_shade. |