1
1

This is the internal function so we should return the correct type. The

external function is type_size and it's used only at the MPI level as MPI
only support integers for the size.

This commit was SVN r9124.
Этот коммит содержится в:
George Bosilca 2006-02-23 04:28:44 +00:00
родитель 2db1babd40
Коммит 574c384ad4

Просмотреть файл

@ -180,7 +180,7 @@ static inline int32_t ompi_ddt_get_extent( const ompi_datatype_t* pData, long* l
{ *lb = pData->lb; *extent = pData->ub - pData->lb; return 0; }
static inline int32_t ompi_ddt_get_true_extent( const ompi_datatype_t* pData, long* true_lb, long* true_extent)
{ *true_lb = pData->true_lb; *true_extent = (pData->true_ub - pData->true_lb); return 0; }
static inline int32_t ompi_ddt_get_size( const ompi_datatype_t* pData, long* size )
static inline int32_t ompi_ddt_get_size( const ompi_datatype_t* pData, unsigned long* size )
{ *size = pData->size; return 0; }
/*
* This function return true (1) if the datatype representation depending on the count