@@ -499,6 +499,8 @@ typedef struct ompi_f08_status_public_t ompi_f08_status_public_t;
499
499
typedef int (MPI_Datarep_extent_function )(MPI_Datatype , MPI_Aint * , void * );
500
500
typedef int (MPI_Datarep_conversion_function )(void * , MPI_Datatype ,
501
501
int , void * , MPI_Offset , void * );
502
+ typedef int (MPI_Datarep_conversion_function_c )(void * , MPI_Datatype ,
503
+ MPI_Count , void * , MPI_Offset , void * );
502
504
typedef void (MPI_Comm_errhandler_function )(MPI_Comm * , int * , ...);
503
505
typedef void (MPI_Session_errhandler_function ) (MPI_Session * , int * , ...);
504
506
@@ -509,6 +511,7 @@ typedef void (MPI_Session_errhandler_function) (MPI_Session *, int *, ...);
509
511
typedef void (ompi_file_errhandler_function )(MPI_File * , int * , ...);
510
512
typedef void (MPI_Win_errhandler_function )(MPI_Win * , int * , ...);
511
513
typedef void (MPI_User_function )(void * , void * , int * , MPI_Datatype * );
514
+ typedef void (MPI_User_function_c )(void * , void * , MPI_Count * , MPI_Datatype * );
512
515
typedef int (MPI_Comm_copy_attr_function )(MPI_Comm , int , void * ,
513
516
void * , void * , int * );
514
517
typedef int (MPI_Comm_delete_attr_function )(MPI_Comm , int , void * , void * );
@@ -994,6 +997,7 @@ enum {
994
997
must be able to be present, and therefore has to be in this
995
998
conditional block in mpi.h. */
996
999
#define MPI_CONVERSION_FN_NULL ((MPI_Datarep_conversion_function*) 0)
1000
+ #define MPI_CONVERSION_FN_NULL_C ((MPI_Datarep_conversion_function_c*) 0)
997
1001
#endif
998
1002
999
1003
OMPI_DECLSPEC int OMPI_C_MPI_TYPE_NULL_DELETE_FN ( MPI_Datatype datatype ,
@@ -1896,6 +1900,8 @@ OMPI_DECLSPEC int MPI_Group_union(MPI_Group group1, MPI_Group group2,
1896
1900
MPI_Group * newgroup );
1897
1901
OMPI_DECLSPEC int MPI_Ibsend (const void * buf , int count , MPI_Datatype datatype , int dest ,
1898
1902
int tag , MPI_Comm comm , MPI_Request * request );
1903
+ OMPI_DECLSPEC int MPI_Ibsend_c (const void * buf , MPI_Count count , MPI_Datatype datatype , int dest ,
1904
+ int tag , MPI_Comm comm , MPI_Request * request );
1899
1905
OMPI_DECLSPEC int MPI_Improbe (int source , int tag , MPI_Comm comm ,
1900
1906
int * flag , MPI_Message * message ,
1901
1907
MPI_Status * status );
@@ -2403,6 +2409,9 @@ OMPI_DECLSPEC int MPI_Type_get_contents(MPI_Datatype mtype, int max_integers,
2403
2409
OMPI_DECLSPEC int MPI_Type_get_envelope (MPI_Datatype type , int * num_integers ,
2404
2410
int * num_addresses , int * num_datatypes ,
2405
2411
int * combiner );
2412
+ OMPI_DECLSPEC int MPI_Type_get_envelope_c (MPI_Datatype type , MPI_Count * num_integers ,
2413
+ MPI_Count * num_addresses , MPI_Count * num_large_counts ,
2414
+ MPI_Count * num_datatypes , int * combiner );
2406
2415
OMPI_DECLSPEC int MPI_Type_get_extent (MPI_Datatype type , MPI_Aint * lb ,
2407
2416
MPI_Aint * extent );
2408
2417
OMPI_DECLSPEC int MPI_Type_get_extent_x (MPI_Datatype type , MPI_Count * lb ,
@@ -3011,6 +3020,8 @@ OMPI_DECLSPEC int PMPI_Group_union(MPI_Group group1, MPI_Group group2,
3011
3020
MPI_Group * newgroup );
3012
3021
OMPI_DECLSPEC int PMPI_Ibsend (const void * buf , int count , MPI_Datatype datatype , int dest ,
3013
3022
int tag , MPI_Comm comm , MPI_Request * request );
3023
+ OMPI_DECLSPEC int PMPI_Ibsend_c (const void * buf , MPI_Count count , MPI_Datatype datatype , int dest ,
3024
+ int tag , MPI_Comm comm , MPI_Request * request );
3014
3025
OMPI_DECLSPEC int PMPI_Improbe (int source , int tag , MPI_Comm comm ,
3015
3026
int * flag , MPI_Message * message ,
3016
3027
MPI_Status * status );
@@ -3518,6 +3529,9 @@ OMPI_DECLSPEC int PMPI_Type_get_contents(MPI_Datatype mtype, int max_integers,
3518
3529
OMPI_DECLSPEC int PMPI_Type_get_envelope (MPI_Datatype type , int * num_integers ,
3519
3530
int * num_addresses , int * num_datatypes ,
3520
3531
int * combiner );
3532
+ OMPI_DECLSPEC int PMPI_Type_get_envelope_c (MPI_Datatype type , MPI_Count * num_integers ,
3533
+ MPI_Count * num_addresses , MPI_Count * num_large_counts ,
3534
+ MPI_Count * num_datatypes , int * combiner );
3521
3535
OMPI_DECLSPEC int PMPI_Type_get_extent (MPI_Datatype type , MPI_Aint * lb ,
3522
3536
MPI_Aint * extent );
3523
3537
OMPI_DECLSPEC int PMPI_Type_get_extent_x (MPI_Datatype type , MPI_Count * lb ,
0 commit comments