summaryrefslogtreecommitdiffstats
path: root/hl/fortran/src/H5LTf90proto.h
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2005-05-16 19:08:41 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2005-05-16 19:08:41 (GMT)
commit5b6c08e68e94cab82653dff0c74d1725fd2852f4 (patch)
treed08b050aff5fcaa5f51897769e41a023709a7177 /hl/fortran/src/H5LTf90proto.h
parent4977e0ac5163ce29211596f84cb39c3c5e525a16 (diff)
downloadhdf5-5b6c08e68e94cab82653dff0c74d1725fd2852f4.zip
hdf5-5b6c08e68e94cab82653dff0c74d1725fd2852f4.tar.gz
hdf5-5b6c08e68e94cab82653dff0c74d1725fd2852f4.tar.bz2
[svn-r10747] Purpose:
bug fix Description: the fortran type integer*1 has become not portable. define the image fortran datatype as "integer" and make special save, read, and palette functions that use native integer for a memory type and UCHAR as disk type for the image data added some more tests with new palette definitions Solution: Platforms tested: linux solaris Misc. update:
Diffstat (limited to 'hl/fortran/src/H5LTf90proto.h')
-rwxr-xr-xhl/fortran/src/H5LTf90proto.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/hl/fortran/src/H5LTf90proto.h b/hl/fortran/src/H5LTf90proto.h
index 0805a1d..2b8e932 100755
--- a/hl/fortran/src/H5LTf90proto.h
+++ b/hl/fortran/src/H5LTf90proto.h
@@ -18,6 +18,9 @@
#include "H5pubconf.h"
#include "H5f90i.h"
+#include <stdlib.h>
+#include <string.h>
+
H5_DLL char* HD5f2cstring (_fcd fdesc, int len);
H5_DLL void HD5packFstring (char *src, char *dest, size_t len);
@@ -242,13 +245,13 @@ nh5immake_image_8bit_c (hid_t_f *loc_id,
_fcd name,
hsize_t_f *width,
hsize_t_f *height,
- unsigned char *buf);
+ void *buf);
H5_DLL
int_f
nh5imread_image_c (hid_t_f *loc_id,
int_f *namelen,
_fcd name,
- unsigned char *buf);
+ void *buf);
H5_DLL
int_f
@@ -259,7 +262,7 @@ nh5immake_image_24bit_c (hid_t_f *loc_id,
_fcd il,
hsize_t_f *width,
hsize_t_f *height,
- unsigned char *buf);
+ void *buf);
H5_DLL
int_f
nh5imget_image_info_c(hid_t_f *loc_id,
@@ -286,7 +289,7 @@ nh5immake_palette_c (hid_t_f *loc_id,
int_f *namelen,
_fcd name,
hsize_t_f *dims,
- unsigned char *buf);
+ void *buf);
H5_DLL
int_f
@@ -326,7 +329,7 @@ nh5imget_palette_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
int_f *pal_number,
- unsigned char *buf);
+ void *buf);
H5_DLL
int_f