summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-13 21:26:15 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-13 21:26:15 (GMT)
commit0eb88a48d7d25ec28e97d008eecf6e62e4915ca8 (patch)
tree69aa5d909a1eed2a9a3bb2d61acdb60ec4a17552 /src/H5Tpublic.h
parent2da4c9cfaa3cd17c3d189e4650097e8a2e07f010 (diff)
downloadhdf5-0eb88a48d7d25ec28e97d008eecf6e62e4915ca8.zip
hdf5-0eb88a48d7d25ec28e97d008eecf6e62e4915ca8.tar.gz
hdf5-0eb88a48d7d25ec28e97d008eecf6e62e4915ca8.tar.bz2
[svn-r2886] Purpose:
Backward compatibility additions Description: Created HDF5 v1.2 compatibility API functions (H5Tget_member_dims & H5Tinsert_array) which use the newer array datatypes underneath, but should ease user's transition to the 1.4 version of the library. Platforms tested: FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index 798ebeb..4257f3c 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -458,6 +458,11 @@ __DLL__ htri_t H5Tcommitted(hid_t type_id);
/* Operations defined on compound data types */
__DLL__ herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset,
hid_t member_id);
+#ifdef WANT_H5_V1_2_COMPAT
+__DLL__ herr_t H5Tinsert_array(hid_t parent_id, const char *name,
+ size_t offset, int ndims, const size_t dim[],
+ const int *perm, hid_t member_id);
+#endif /* WANT_H5_V1_2_COMPAT */
__DLL__ herr_t H5Tpack(hid_t type_id);
/* Operations defined on enumeration data types */
@@ -501,6 +506,10 @@ __DLL__ H5T_str_t H5Tget_strpad(hid_t type_id);
__DLL__ int H5Tget_nmembers(hid_t type_id);
__DLL__ char *H5Tget_member_name(hid_t type_id, int membno);
__DLL__ size_t H5Tget_member_offset(hid_t type_id, int membno);
+#ifdef WANT_H5_V1_2_COMPAT
+__DLL__ int H5Tget_member_dims(hid_t type_id, int membno, size_t dims[]/*out*/,
+ int perm[]/*out*/);
+#endif /* WANT_H5_V1_2_COMPAT */
__DLL__ H5T_class_t H5Tget_member_class(hid_t type_id, int membno);
__DLL__ hid_t H5Tget_member_type(hid_t type_id, int membno);
__DLL__ herr_t H5Tget_member_value(hid_t type_id, int membno,