diff options
author | Thomas White <taw@physics.org> | 2019-03-14 15:28:39 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-03-14 16:43:50 +0100 |
commit | 75d8d522008429c4973c28a2c5a770a581f5efd5 (patch) | |
tree | 25a272e522a71c9f74e843442496516f6c8cac41 /src/im-zmq.h | |
parent | 1449feb1f5507e79c4259ab7e122451b07d147c8 (diff) |
indexamajig: Add --no-image-data
Diffstat (limited to 'src/im-zmq.h')
-rw-r--r-- | src/im-zmq.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/im-zmq.h b/src/im-zmq.h index 86181347..a7cbbfe9 100644 --- a/src/im-zmq.h +++ b/src/im-zmq.h @@ -53,7 +53,8 @@ extern msgpack_object *im_zmq_fetch(struct im_zmq *z); extern int get_peaks_msgpack(msgpack_object *obj, struct image *image, int half_pixel_shift); -extern int unpack_msgpack_data(msgpack_object *obj, struct image *image); +extern int unpack_msgpack_data(msgpack_object *obj, struct image *image, + int no_image_data); #else /* defined(HAVE_MSGPACK) && defined(HAVE_ZMQ) */ @@ -68,7 +69,8 @@ static UNUSED void *im_zmq_fetch(struct im_zmq *z) { return NULL; } static UNUSED int get_peaks_msgpack(void *obj, struct image *image, int half_pixel_shift) { return 0; } -static UNUSED int unpack_msgpack_data(void *obj, struct image *image) { return 1; } +static UNUSED int unpack_msgpack_data(void *obj, struct image *image, + int no_image_data) { return 1; } #endif /* defined(HAVE_MSGPACK) && defined(HAVE_ZMQ) */ |