summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2012-10-23 18:41:50 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2012-10-23 18:41:50 (GMT)
commitf202def38c6fc61b934845fdc1a7c546e86089a1 (patch)
treec7cf4cfbe59233e4019a534f00431692b00f76fc /src/H5T.c
parent95a13a5fc9693baa4476493e998421d18ae36f20 (diff)
downloadhdf5-f202def38c6fc61b934845fdc1a7c546e86089a1.zip
hdf5-f202def38c6fc61b934845fdc1a7c546e86089a1.tar.gz
hdf5-f202def38c6fc61b934845fdc1a7c546e86089a1.tar.bz2
[svn-r22956] I merged from the trunk 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. The change in fortran/ directory is only some property change.
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 5a3c17b..218ea18 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -1062,6 +1062,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);