summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-11-06 19:55:40 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-11-08 17:57:09 +0100
commit143a4898f13cee32741c3acd6c4c428afd9545be (patch)
tree307c8202d543c0b5743d9904974bf29203413f90 /source
parentb6de127414f5768db4b5484889bd8366ad9e65f1 (diff)
downloadmupdf-143a4898f13cee32741c3acd6c4c428afd9545be.tar.xz
Move static inline function out of header.
Diffstat (limited to 'source')
-rw-r--r--source/fitz/image.c7
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