diff options
Diffstat (limited to 'source/fitz/image.c')
-rw-r--r-- | source/fitz/image.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/fitz/image.c b/source/fitz/image.c index 43addf96..81dfbab1 100644 --- a/source/fitz/image.c +++ b/source/fitz/image.c @@ -4,6 +4,13 @@ #include <math.h> #include <assert.h> +/* TODO: here or public? */ +static int +fz_key_storable_needs_reaping(fz_context *ctx, const fz_key_storable *ks) +{ + return ks == NULL ? 0 : (ks->store_key_refs == ks->storable.refs); +} + #define SANE_DPI 72.0f #define INSANE_DPI 4800.0f |