Skip to content

Commit d88031d

Browse files
committed
cbindings: add prototype for MPI_Register_datarep_c
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent 051d980 commit d88031d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ompi/include/mpi.h.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2176,6 +2176,11 @@ OMPI_DECLSPEC int MPI_Register_datarep(const char *datarep,
21762176
MPI_Datarep_conversion_function *write_conversion_fn,
21772177
MPI_Datarep_extent_function *dtype_file_extent_fn,
21782178
void *extra_state);
2179+
OMPI_DECLSPEC int MPI_Register_datarep_c(const char *datarep,
2180+
MPI_Datarep_conversion_function_c *read_conversion_fn,
2181+
MPI_Datarep_conversion_function_c *write_conversion_fn,
2182+
MPI_Datarep_extent_function *dtype_file_extent_fn,
2183+
void *extra_state);
21792184
OMPI_DECLSPEC MPI_Fint MPI_Request_c2f(MPI_Request request);
21802185
OMPI_DECLSPEC MPI_Request MPI_Request_f2c(MPI_Fint request);
21812186
OMPI_DECLSPEC int MPI_Request_free(MPI_Request *request);
@@ -3324,6 +3329,11 @@ OMPI_DECLSPEC int PMPI_Register_datarep(const char *datarep,
33243329
MPI_Datarep_conversion_function *write_conversion_fn,
33253330
MPI_Datarep_extent_function *dtype_file_extent_fn,
33263331
void *extra_state);
3332+
OMPI_DECLSPEC int PMPI_Register_datarep_c(const char *datarep,
3333+
MPI_Datarep_conversion_function_c *read_conversion_fn,
3334+
MPI_Datarep_conversion_function_c *write_conversion_fn,
3335+
MPI_Datarep_extent_function *dtype_file_extent_fn,
3336+
void *extra_state);
33273337
OMPI_DECLSPEC MPI_Fint PMPI_Request_c2f(MPI_Request request);
33283338
OMPI_DECLSPEC MPI_Request PMPI_Request_f2c(MPI_Fint request);
33293339
OMPI_DECLSPEC int PMPI_Request_free(MPI_Request *request);

0 commit comments

Comments
 (0)