diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1999-08-10 18:54:06 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1999-08-10 18:54:06 (GMT) |
commit | 7d949c9da91b33955d4e253c1093a4f23fb63523 (patch) | |
tree | be3c9712212895401ff6798a99c3ddf1bfe3fd08 /src/H5D.c | |
parent | 03efcfe00f186cac97bcccfae52d3c1dd4091742 (diff) | |
download | hdf5-7d949c9da91b33955d4e253c1093a4f23fb63523.zip hdf5-7d949c9da91b33955d4e253c1093a4f23fb63523.tar.gz hdf5-7d949c9da91b33955d4e253c1093a4f23fb63523.tar.bz2 |
[svn-r1566] Changed C++ "operator" keyword to "op"
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2609,7 +2609,7 @@ H5D_get_storage_size(H5D_t *dset) * hid_t type_id; IN: Datatype ID for the elements stored in BUF. * hid_t space_id; IN: Dataspace ID for BUF, also contains the * selection to iterate over. - * H5D_operator_t operator; IN: Function pointer to the routine to be + * H5D_operator_t op; IN: Function pointer to the routine to be * called for each element in BUF iterated over. * void *operator_data; IN/OUT: Pointer to any user-defined data * associated with the operation. @@ -2651,17 +2651,17 @@ H5D_get_storage_size(H5D_t *dset) *------------------------------------------------------------------------- */ herr_t -H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t operator, +H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data) { H5S_t *space = NULL; herr_t ret_value=FAIL; FUNC_ENTER(H5Diterate, FAIL); - H5TRACE5("e","xiixx",buf,type_id,space_id,operator,operator_data); + H5TRACE5("e","xiixx",buf,type_id,space_id,op,operator_data); /* Check args */ - if (NULL==operator) + if (NULL==op) HRETURN_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid operator"); if (buf==NULL) HRETURN_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid buffer"); @@ -2671,7 +2671,7 @@ H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t operator, NULL == (space = H5I_object(space_id))) HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "invalid dataspace"); - ret_value=H5S_select_iterate(buf,type_id,space,operator,operator_data); + ret_value=H5S_select_iterate(buf,type_id,space,op,operator_data); FUNC_LEAVE(ret_value); } /* end H5Diterate() */ |