summaryrefslogtreecommitdiffstats
path: root/src/H5Tprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-06-11 16:03:04 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-06-11 16:03:04 (GMT)
commit33a1bc03c43c68a95b301d8315a15fa7775851e4 (patch)
tree0402f78abb06b3d8e7b728ebb0a2f64bdff64fb6 /src/H5Tprivate.h
parente4a300b04e0eb4f3c7cfb96b925d5cf9975c8188 (diff)
downloadhdf5-33a1bc03c43c68a95b301d8315a15fa7775851e4.zip
hdf5-33a1bc03c43c68a95b301d8315a15fa7775851e4.tar.gz
hdf5-33a1bc03c43c68a95b301d8315a15fa7775851e4.tar.bz2
[svn-r5586] Purpose:
Bug Fix Description: H5Dcreate and H5Tcommit allow "empty" compound and enumerated types (i.e. ones with no members) to be stored in the file, but this causes an assertion failure and is somewhat vapid. Solution: Check the datatype "makes sense" before using it for H5Dcreate and H5Tcommit. Platforms tested: FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src/H5Tprivate.h')
-rw-r--r--src/H5Tprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Tprivate.h b/src/H5Tprivate.h
index 23cd9a3..2381b5d 100644
--- a/src/H5Tprivate.h
+++ b/src/H5Tprivate.h
@@ -133,6 +133,7 @@ __DLL__ herr_t H5T_enum_valueof(H5T_t *dt, const char *name,
void *value/*out*/);
__DLL__ herr_t H5T_vlen_reclaim(void *elem, hid_t type_id, hsize_t ndim, hssize_t *point, void *_op_data);
__DLL__ htri_t H5T_vlen_mark(H5T_t *dt, H5F_t *f, H5T_vlen_loc_t loc);
+__DLL__ htri_t H5T_is_sensible(const H5T_t *dt);
/* Reference specific functions */
__DLL__ H5R_type_t H5T_get_ref_type(const H5T_t *dt);