[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
This commit is contained in:
Quincey Koziol 2005-08-13 14:18:02 -05:00
parent 45f1eba213
commit 0db530ac5a

View File

@ -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