Skip to content

C interface templates - return MPI_Fint for c2f #13182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ompi/mpi/c/comm_c2f.c.in
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "ompi/mpi/fortran/base/fint_2_int.h"
#include "ompi/memchecker.h"

PROTOTYPE ERROR_CLASS comm_c2f(COMM comm)
PROTOTYPE FINT comm_c2f(COMM comm)
{
MEMCHECKER(
memchecker_comm(comm);
Expand Down
2 changes: 1 addition & 1 deletion ompi/mpi/c/win_c2f.c.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "ompi/errhandler/errhandler.h"
#include "ompi/mpi/fortran/base/fint_2_int.h"

PROTOTYPE ERROR_CLASS win_c2f(WIN win)
PROTOTYPE FINT win_c2f(WIN win)
{
if ( MPI_PARAM_CHECK) {
OMPI_ERR_INIT_FINALIZE(FUNC_NAME);
Expand Down