File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
ompi/mpi/bindings/ompi_bindings Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1587,7 +1587,7 @@ def type_text(self, enable_count=False):
15871587
15881588@Type .add_type ('DATAREP_CONVERSION_FUNCTION' , abi_type = ['standard' ])
15891589class TypeDatarepConversionFunctionStandard (Type ):
1590- # TODO: This may require a special function to wrap the callback
1590+ # TODO: This may require a special function to wrap the callback
15911591# pass
15921592
15931593 @property
@@ -1640,15 +1640,15 @@ def type_text(self, enable_count=False):
16401640 type_name = self .mangle_name ('MPI_Type_copy_attr_function' )
16411641 return f'{ type_name } *'
16421642
1643- @property
1644- def argument (self ):
1645- return f'(MPI_Type_copy_attr_function *) { self .name } '
1643+ # @property
1644+ # def argument(self):
1645+ # return f'(MPI_Type_copy_attr_function *) {self.name}'
16461646
16471647 @property
16481648 def init_code (self ):
16491649 code = []
16501650 code = [f'MPI_Type_copy_attr_function *{ self .tmpname } = { ConvertFuncs .TYPE_COPY_ATTR_FUNCTION } ({ self .name } );' ]
1651- code = [ 'ompi_abi_wrapper_helper_t *helper = NULL;' ]
1651+ code . append ( 'ompi_abi_wrapper_helper_t *helper = NULL;' )
16521652 code .append ('MPI_Type_copy_attr_function_ABI_INTERNAL *copy_fn;' )
16531653 code .append ('helper = ( ompi_abi_wrapper_helper_t *)malloc(sizeof(ompi_abi_wrapper_helper_t));' )
16541654 code .append ('if (NULL == helper) return MPI_ERR_NO_MEM;' )
Original file line number Diff line number Diff line change 9999]
100100
101101PREDEFINED_DATATYPES = [
102+ 'MPI_DATATYPE_NULL' ,
102103 'MPI_CHAR' ,
103104 'MPI_SHORT' ,
104105 'MPI_INT' ,
You can’t perform that action at this time.
0 commit comments