aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image-hdf5.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-10 11:57:47 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:45 +0200
commitf7ea70e422fafdc886d5829d1bb5f9f3e75d726f (patch)
tree487df5d5269c9b63ce2d322d564d0058adab86a2 /libcrystfel/src/image-hdf5.h
parent2c9de4119c0fe2338f5f6e54ee91294e3f0f6a74 (diff)
Move image structure creation up to image_read()
Diffstat (limited to 'libcrystfel/src/image-hdf5.h')
-rw-r--r--libcrystfel/src/image-hdf5.h7
1 files changed, 4 insertions, 3 deletions
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,