aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-05-12 17:23:20 +0200
committerThomas White <taw@physics.org>2021-05-12 17:23:20 +0200
commitc0485703d91bab94dfffd9f3b8d909c0c67b1989 (patch)
treefe545e671d52d532ffc65a2c07202fcfcaea6f3a
parent0fd2a367d1ba017d0c1cb112a648b71c4e355f78 (diff)
Fix build without MsgPack
-rw-r--r--libcrystfel/src/image-msgpack.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libcrystfel/src/image-msgpack.c b/libcrystfel/src/image-msgpack.c
index 6785fd5f..3410885e 100644
--- a/libcrystfel/src/image-msgpack.c
+++ b/libcrystfel/src/image-msgpack.c
@@ -520,10 +520,8 @@ ImageFeatureList *image_msgpack_read_peaks(const DataTemplate *dtempl,
return NULL;
}
-double image_msgpack_get_value(const char *name,
- void *data_block,
- size_t data_block_size,
- char *ptype)
+int image_msgpack_read_header_to_cache(struct image *image,
+ const char *name)
{
ERROR("MessagePack is not supported in this installation (get_value).\n");
*ptype = 'f';