diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2012-10-23 18:41:50 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2012-10-23 18:41:50 (GMT) |
commit | f202def38c6fc61b934845fdc1a7c546e86089a1 (patch) | |
tree | c7cf4cfbe59233e4019a534f00431692b00f76fc /src/H5T.c | |
parent | 95a13a5fc9693baa4476493e998421d18ae36f20 (diff) | |
download | hdf5-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |