summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2012-10-17 18:38:38 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2012-10-17 18:38:38 (GMT)
commit1c45b31cc674a38e32a87a168d50249a6875f821 (patch)
tree8586b6f08af5bb2807f1657092c608735649c89d /src/H5T.c
parent33504deb83ded74816f659887405aecef07718bf (diff)
downloadhdf5-1c45b31cc674a38e32a87a168d50249a6875f821.zip
hdf5-1c45b31cc674a38e32a87a168d50249a6875f821.tar.gz
hdf5-1c45b31cc674a38e32a87a168d50249a6875f821.tar.bz2
[svn-r22914] I checked in the conversion function H5T__conv_enum_numeric (numeric type means integer or floating number) and the C test for it. This is the work for Chicago.
Tested on jam, koala, and ostrich.
Diffstat (limited to 'src/H5T.c')
-rw-r--r--src/H5T.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5T.c b/src/H5T.c
index fb9cf25..5801c3f 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -1060,6 +1060,8 @@ H5T_init_interface(void)
status |= H5T_register(H5T_PERS_SOFT, "struct(no-opt)", compound, compound, H5T__conv_struct, H5AC_dxpl_id, FALSE);
status |= H5T_register(H5T_PERS_SOFT, "struct(opt)", compound, compound, H5T__conv_struct_opt, H5AC_dxpl_id, FALSE);
status |= H5T_register(H5T_PERS_SOFT, "enum", enum_type, enum_type, H5T__conv_enum, H5AC_dxpl_id, FALSE);
+ status |= H5T_register(H5T_PERS_SOFT, "enum_i", enum_type, fixedpt, H5T__conv_enum_numeric, H5AC_dxpl_id, FALSE);
+ status |= H5T_register(H5T_PERS_SOFT, "enum_f", enum_type, floatpt, H5T__conv_enum_numeric, H5AC_dxpl_id, FALSE);
status |= H5T_register(H5T_PERS_SOFT, "vlen", vlen, vlen, H5T__conv_vlen, H5AC_dxpl_id, FALSE);
status |= H5T_register(H5T_PERS_SOFT, "array", array, array, H5T__conv_array, H5AC_dxpl_id, FALSE);
status |= H5T_register(H5T_PERS_SOFT, "objref", objref, objref, H5T__conv_order_opt, H5AC_dxpl_id, FALSE);