diff options
Diffstat (limited to 'src/hdf5-file.h')
-rw-r--r-- | src/hdf5-file.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hdf5-file.h b/src/hdf5-file.h index e1e9d2a1..455628bd 100644 --- a/src/hdf5-file.h +++ b/src/hdf5-file.h @@ -17,14 +17,15 @@ #define HDF5_H #include <stdint.h> +#include <hdf5.h> #include "image.h" struct hdfile; -extern int hdf5_write(const char *filename, const int16_t *data, - int width, int height); +extern int hdf5_write(const char *filename, const void *data, + int width, int height, int type); extern int hdf5_read(struct hdfile *f, struct image *image); |