21.1.4. Deprecated Prototype Definitions

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

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 Handless Next: String Values Previous: Fortran Bindings with mpif.h or the mpi Modulee


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

(Unofficial) MPI-4.1 of November 2, 2023
HTML Generated on November 19, 2023