*extent = datatype->ub - datatype->lb;
return( MPI_SUCCESS );
}
+
+
+/**
+ * query extent and lower bound of the type
+ **/
+int SMPI_MPI_Type_get_extent( MPI_Datatype datatype, int *lb, int *extent)
+{
+ return( smpi_mpi_type_get_extent( datatype, lb, extent));
+}
+
/**
* query the size of the type
**/
}
-
-/**
- * query extent and lower bound of the type
- **/
-int SMPI_MPI_Type_get_extent( MPI_Datatype datatype, int *lb, int *extent)
-{
- return( smpi_mpi_type_get_extent( datatype, lb, extent));
-}
-
/* Deprecated Functions.
* The MPI-2 standard deprecated a number of routines because MPI-2 provides better versions.
* This routine is one of those that was deprecated. The routine may continue to be used, but