From f7ea70e422fafdc886d5829d1bb5f9f3e75d726f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 10 Jul 2020 11:57:47 +0200 Subject: Move image structure creation up to image_read() --- libcrystfel/src/image-hdf5.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libcrystfel/src/image-hdf5.h') diff --git a/libcrystfel/src/image-hdf5.h b/libcrystfel/src/image-hdf5.h index 7a32a354..af57e3d4 100644 --- a/libcrystfel/src/image-hdf5.h +++ b/libcrystfel/src/image-hdf5.h @@ -42,9 +42,10 @@ extern double image_hdf5_get_value(const char *from, const char *filename, const char *ev); -extern struct image *image_hdf5_read(DataTemplate *dtempl, - const char *filename, - const char *event); +extern int image_hdf5_read(struct image *image, + DataTemplate *dtempl, + const char *filename, + const char *event); extern int image_hdf5_read_mask(struct panel_template *p, const char *filename, -- cgit v1.2.3