diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-13 19:18:02 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-13 19:18:02 (GMT) |
commit | 0db530ac5a1a2c6413a1535808600b35053dbbb4 (patch) | |
tree | b60bcf7199b38a509fa0cb2c449a73fcaa82a14a | |
parent | 45f1eba2132c179e92d7144c6ff8713573ad24fc (diff) | |
download | hdf5-0db530ac5a1a2c6413a1535808600b35053dbbb4.zip hdf5-0db530ac5a1a2c6413a1535808600b35053dbbb4.tar.gz hdf5-0db530ac5a1a2c6413a1535808600b35053dbbb4.tar.bz2 |
[svn-r11242] Purpose:
Code cleanup
Description:
Use enum type instead of int for datatype conversion exception callback
routine.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
-rw-r--r-- | src/H5Tpublic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h index 2e0f17f..fdc25c0 100644 --- a/src/H5Tpublic.h +++ b/src/H5Tpublic.h @@ -211,8 +211,8 @@ typedef herr_t (*H5T_conv_t) (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, /* Exception handler. If an exception like overflow happenes during conversion, * this function is called if it's registered through H5Pset_type_conv_cb. */ -typedef H5T_conv_ret_t (*H5T_conv_except_func_t)(int except_type, hid_t src_id, - hid_t dst_id, void *src_buf, void *dst_buf, void *user_data); +typedef H5T_conv_ret_t (*H5T_conv_except_func_t)(H5T_conv_except_t except_type, + hid_t src_id, hid_t dst_id, void *src_buf, void *dst_buf, void *user_data); /* When this header is included from a private header, don't make calls to H5open() */ #undef H5OPEN |