diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-01-13 14:06:00 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-01-18 19:25:12 +0000 |
commit | c4fde0dc08514e2a268daf5909e29b65d89bb0d1 (patch) | |
tree | 55b51979458ae8bafa670615cf36fd5ce07a0ec0 /include | |
parent | 254ea37e1f5e3692f6a2fb9a9758f00c75dbca8d (diff) | |
download | mupdf-c4fde0dc08514e2a268daf5909e29b65d89bb0d1.tar.xz |
Add consts to fz_keep/drop_path.
Forgot these in my previous pass.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/fitz/path.h b/include/mupdf/fitz/path.h index 03c69849..c0dc3cf7 100644 --- a/include/mupdf/fitz/path.h +++ b/include/mupdf/fitz/path.h @@ -61,8 +61,8 @@ typedef struct void fz_process_path(fz_context *ctx, const fz_path_processor *proc, void *arg, const fz_path *path); fz_path *fz_new_path(fz_context *ctx); -fz_path *fz_keep_path(fz_context *ctx, fz_path *path); -void fz_drop_path(fz_context *ctx, fz_path *path); +fz_path *fz_keep_path(fz_context *ctx, const fz_path *path); +void fz_drop_path(fz_context *ctx, const fz_path *path); void fz_trim_path(fz_context *ctx, fz_path *path); int fz_packed_path_size(const fz_path *path); int fz_pack_path(fz_context *ctx, uint8_t *pack, int max, const fz_path *path); |