diff options
Diffstat (limited to 'src/H5Sselect.c')
-rw-r--r-- | src/H5Sselect.c | 14 |
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: |