summaryrefslogtreecommitdiffstats
path: root/src/H5Tnative.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2004-10-05 15:13:14 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2004-10-05 15:13:14 (GMT)
commit1f8687691d6620473440d745ea6cbe9e16b3d3c1 (patch)
treebcf783cf560fbfa1e7e3a7ca3b0778abb34e9ac1 /src/H5Tnative.c
parent9595bba3a45563ddff3a732cd460fecf0c04530a (diff)
downloadhdf5-1f8687691d6620473440d745ea6cbe9e16b3d3c1.zip
hdf5-1f8687691d6620473440d745ea6cbe9e16b3d3c1.tar.gz
hdf5-1f8687691d6620473440d745ea6cbe9e16b3d3c1.tar.bz2
[svn-r9365]
Purpose: change feature Description: Back up supporting bitfield and time datatypes in H5Tget_native_type. Leave it for future support. Simply returns "not supported" error message for now. Platforms tested: h5committest Misc. update: RELEASE.txt
Diffstat (limited to 'src/H5Tnative.c')
-rw-r--r--src/H5Tnative.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Tnative.c b/src/H5Tnative.c
index 8b774fd..add84bf 100644
--- a/src/H5Tnative.c
+++ b/src/H5Tnative.c
@@ -212,13 +212,13 @@ H5T_get_native_type(H5T_t *dtype, H5T_direction_t direction, size_t *struct_alig
}
break;
- /* These types need to be supported properly still... */
+ /* These 2 types will be supported in the future. Simply return "not supported"
+ * message for now.*/
case H5T_TIME:
- case H5T_BITFIELD:
- if((ret_value=H5T_copy(dtype, H5T_COPY_TRANSIENT))==NULL)
- HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "cannot retrieve float type")
+ HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "time type is not supported yet")
- break;
+ case H5T_BITFIELD:
+ HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "bit field type is not supported yet")
case H5T_OPAQUE:
if((ret_value=H5T_copy(dtype, H5T_COPY_TRANSIENT))==NULL)