diff options
author | Thomas White <taw@physics.org> | 2010-02-10 14:25:42 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-17 10:33:25 +0100 |
commit | 6563de76906d6a8562a4b25c4c0582f8b7c2d5bd (patch) | |
tree | f94dd20410f5c97a6abe0ec7d7890d9a846c73d0 /src/hdf5-file.h | |
parent | 1b5c5d980742c358debb6cf2783362d847a90230 (diff) |
Add --powder option for generating powder patterns directly
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); |