Skip to content

Commit b558804

Browse files
committed
fix fortran/c bindings
1 parent 2371ea8 commit b558804

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

maint/local_python/binding_c.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ def process_func_parameters(func):
570570
if p['length']:
571571
length = p['length']
572572
if length == '*':
573-
if RE.match(r'MPI_(Test|Wait|Request_get_status_|Continue)all', func_name, re.IGNORECASE):
573+
if RE.match(r'MPIX?_(Test|Wait|Request_get_status_|Continue)all', func_name, re.IGNORECASE):
574574
length = "count"
575575
elif RE.match(r'MPI_(Test|Wait|Request_get_status_)some', func_name, re.IGNORECASE):
576576
length = "incount"

maint/local_python/binding_f08.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ def process_func_parameters(func):
13371337
def check_func_directives(func):
13381338
if 'dir' in func and func['dir'] == "mpit":
13391339
func['_skip_fortran'] = 1
1340-
elif RE.match(r'mpix_(grequest_|type_iov|async_)', func['name'], re.IGNORECASE):
1340+
elif RE.match(r'mpix_(grequest_|type_iov|async_|continue_)', func['name'], re.IGNORECASE):
13411341
func['_skip_fortran'] = 1
13421342
elif RE.match(r'mpi_attr_', func['name'], re.IGNORECASE):
13431343
func['_skip_fortran'] = 1

maint/local_python/binding_f77.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ def dump_fortran_line(s):
12601260
def check_func_directives(func):
12611261
if 'dir' in func and func['dir'] == "mpit":
12621262
func['_skip_fortran'] = 1
1263-
elif RE.match(r'mpix_(grequest_|type_iov|async_)', func['name'], re.IGNORECASE):
1263+
elif RE.match(r'mpix_(grequest_|type_iov|async_|continue_)', func['name'], re.IGNORECASE):
12641264
func['_skip_fortran'] = 1
12651265
elif RE.match(r'mpi_\w+_(f|f08|c)2(f|f08|c)$', func['name'], re.IGNORECASE):
12661266
# implemented in mpi_f08_types.f90

maint/local_python/binding_f90.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def dump_f90_sizeofs():
216216
def check_func_directives(func):
217217
if 'dir' in func and func['dir'] == "mpit":
218218
func['_skip_fortran'] = 1
219-
elif RE.match(r'mpix_(grequest_|type_iov|async_)', func['name'], re.IGNORECASE):
219+
elif RE.match(r'mpix_(grequest_|type_iov|async_|continue_)', func['name'], re.IGNORECASE):
220220
func['_skip_fortran'] = 1
221221
elif RE.match(r'mpi_attr_', func['name'], re.IGNORECASE):
222222
func['_skip_fortran'] = 1

src/binding/c/continue_api.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ MPIX_Continueall:
3030
cb: FUNCTION, func_type=MPIX_Continue_cb_function, [the continuation callback function]
3131
cb_data: BUFFER, [the argument passed to the callback]
3232
flags: ARRAY_LENGTH, [flags controlling aspects of the continuation]
33-
array_of_statuses: STATUS, direction=inout, length=*, pointer=False, [array of status objects]
33+
array_of_statuses: STATUS, direction=out, length=*, pointer=False, [array of status objects]
3434
cont_request: REQUEST, [the continuation request]
3535
{
3636
mpi_errno = MPIR_Continueall_impl(count, request_ptrs, cb, cb_data, flags, array_of_statuses,

0 commit comments

Comments
 (0)