summaryrefslogtreecommitdiffstats
path: root/src/H5Sselect.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-08-10 18:54:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-08-10 18:54:06 (GMT)
commit7d949c9da91b33955d4e253c1093a4f23fb63523 (patch)
treebe3c9712212895401ff6798a99c3ddf1bfe3fd08 /src/H5Sselect.c
parent03efcfe00f186cac97bcccfae52d3c1dd4091742 (diff)
downloadhdf5-7d949c9da91b33955d4e253c1093a4f23fb63523.zip
hdf5-7d949c9da91b33955d4e253c1093a4f23fb63523.tar.gz
hdf5-7d949c9da91b33955d4e253c1093a4f23fb63523.tar.bz2
[svn-r1566] Changed C++ "operator" keyword to "op"
Diffstat (limited to 'src/H5Sselect.c')
-rw-r--r--src/H5Sselect.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5Sselect.c b/src/H5Sselect.c
index c36cc03..556ae7e 100644
--- a/src/H5Sselect.c
+++ b/src/H5Sselect.c
@@ -1695,7 +1695,7 @@ H5S_select_contiguous(const H5S_t *space)
void *buf; IN/OUT: Buffer containing elements to iterate over
hid_t type_id; IN: Datatype ID of BUF array.
H5S_t *space; IN: Dataspace object containing 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.
@@ -1714,7 +1714,7 @@ H5S_select_contiguous(const H5S_t *space)
the selection is not modified.
--------------------------------------------------------------------------*/
herr_t
-H5S_select_iterate(void *buf, hid_t type_id, H5S_t *space, H5D_operator_t operator,
+H5S_select_iterate(void *buf, hid_t type_id, H5S_t *space, H5D_operator_t op,
void *operator_data)
{
herr_t ret_value=FAIL;
@@ -1724,24 +1724,24 @@ H5S_select_iterate(void *buf, hid_t type_id, H5S_t *space, H5D_operator_t operat
/* Check args */
assert(buf);
assert(space);
- assert(operator);
+ assert(op);
assert(H5I_DATATYPE == H5I_get_type(type_id));
switch(space->select.type) {
case H5S_SEL_POINTS: /* Sequence of points selected */
- ret_value=H5S_point_select_iterate(buf,type_id,space,operator,operator_data);
+ ret_value=H5S_point_select_iterate(buf,type_id,space,op,operator_data);
break;
case H5S_SEL_HYPERSLABS: /* Hyperslab selection defined */
- ret_value=H5S_hyper_select_iterate(buf,type_id,space,operator,operator_data);
+ ret_value=H5S_hyper_select_iterate(buf,type_id,space,op,operator_data);
break;
case H5S_SEL_ALL: /* Entire extent selected */
- ret_value=H5S_all_select_iterate(buf,type_id,space,operator,operator_data);
+ ret_value=H5S_all_select_iterate(buf,type_id,space,op,operator_data);
break;
case H5S_SEL_NONE: /* Nothing selected */
- ret_value=H5S_none_select_iterate(buf,type_id,space,operator,operator_data);
+ ret_value=H5S_none_select_iterate(buf,type_id,space,op,operator_data);
break;
case H5S_SEL_ERROR: