summaryrefslogtreecommitdiffstats
path: root/src/H5Sall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Sall.c')
-rw-r--r--src/H5Sall.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Sall.c b/src/H5Sall.c
index ff08fbc..711ade5 100644
--- a/src/H5Sall.c
+++ b/src/H5Sall.c
@@ -924,11 +924,11 @@ H5S_all_bounds(H5S_t *space, hsize_t *start, hsize_t *end)
Iterate over a "all" selection, calling a user's function for each
element.
USAGE
- herr_t H5S_all_select_iterate(buf, type_id, space, operator, operator_data)
+ herr_t H5S_all_select_iterate(buf, type_id, space, op, operator_data)
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.
@@ -951,7 +951,7 @@ H5S_all_bounds(H5S_t *space, hsize_t *start, hsize_t *end)
REVISION LOG
--------------------------------------------------------------------------*/
herr_t
-H5S_all_select_iterate(void *buf, hid_t type_id, H5S_t *space, H5D_operator_t operator,
+H5S_all_select_iterate(void *buf, hid_t type_id, H5S_t *space, H5D_operator_t op,
void *operator_data)
{
hsize_t mem_size[H5O_LAYOUT_NDIMS]; /* Dataspace size */
@@ -967,7 +967,7 @@ H5S_all_select_iterate(void *buf, hid_t type_id, H5S_t *space, H5D_operator_t op
assert(buf);
assert(space);
- assert(operator);
+ assert(op);
assert(H5I_DATATYPE == H5I_get_type(type_id));
/* Get the dataspace extent rank */
@@ -989,7 +989,7 @@ H5S_all_select_iterate(void *buf, hid_t type_id, H5S_t *space, H5D_operator_t op
offset=H5V_array_offset(rank+1,mem_size,mem_offset);
tmp_buf=((char *)buf+offset);
- ret_value=(*operator)(tmp_buf,type_id,rank,mem_offset,operator_data);
+ ret_value=(*op)(tmp_buf,type_id,rank,mem_offset,operator_data);
/* Decrement the number of elements to iterate through */
nelemts--;