22.1.4. Deprecated Prototype Definitions

PreviousUpNext
Up: Defined Values and Handles Next: String Values Previous: Fortran Bindings with mpif.h or the mpi Module

The following are defined C typedefs for deprecated user-defined functions, also included in the file mpi.h.


/* prototypes for user-defined functions */ 
typedef int MPI_Copy_function;
(MPI_Comm oldcomm, int keyval, void *extra_state, void *attribute_val_in, void *attribute_val_out, int *flag) typedef int MPI_Delete_function;
(MPI_Comm comm, int keyval, void *attribute_val, void *extra_state)

The following are deprecated Fortran user-defined callback subroutine prototypes. The deprecated copy and delete function arguments to MPI_KEYVAL_CREATE should be declared like these:

SUBROUTINE COPY_FUNCTION(OLDCOMM, KEYVAL, EXTRA_STATE, ATTRIBUTE_VAL_IN, ATTRIBUTE_VAL_OUT, FLAG, IERR)
INTEGER OLDCOMM, KEYVAL, EXTRA_STATE, ATTRIBUTE_VAL_IN, ATTRIBUTE_VAL_OUT, IERR
LOGICAL FLAG

SUBROUTINE DELETE_FUNCTION(COMM, KEYVAL, ATTRIBUTE_VAL, EXTRA_STATE, IERR)

INTEGER COMM, KEYVAL, ATTRIBUTE_VAL, EXTRA_STATE, IERR


PreviousUpNext
Up: Defined Values and Handles Next: String Values Previous: Fortran Bindings with mpif.h or the mpi Module


Return to MPI-5.0 Standard Index
Return to MPI Forum Home Page

(Unofficial) MPI-5.0 of June 9, 2025
HTML Generated on March 2, 2025