@@ -1283,7 +1283,6 @@ class TypeStatusStandard(StandardABIType):
12831283
12841284 @property
12851285 def init_code (self ):
1286- # TODO: Need to ensure this is the correct conversion function for MPI_Status
12871286 mangle_type = self .mangle_name ('MPI_Status' )
12881287 code = [f'MPI_Status { self .tmpname } ;' ];
12891288 code .append (f'{ ConvertFuncs .STATUS } (&{ self .tmpname } , ({ mangle_type } *){ self .name } );' )
@@ -1457,7 +1456,6 @@ def type_text(self, enable_count=False):
14571456 return 'MPI_F08_status *'
14581457
14591458
1460- # TODO: For now this just assumes that MPI_Fint doesn't need any conversions
14611459@Type .add_type ('FINT' )
14621460class TypeFint (Type ):
14631461
@@ -1840,8 +1838,6 @@ def type_text(self, enable_count=False):
18401838
18411839@Type .add_type ('COPY_FUNCTION' , abi_type = ['standard' ])
18421840class TypeCopyFunctionStandard (StandardABIType ):
1843- # TODO: This may require a special function to wrap the callback
1844- # pass
18451841
18461842 def type_text (self , enable_count = False ):
18471843 return 'MPI_Copy_function *'
@@ -1855,8 +1851,7 @@ def type_text(self, enable_count=False):
18551851
18561852@Type .add_type ('DELETE_FUNCTION' , abi_type = ['standard' ])
18571853class TypeDeleteFunctionStandard (StandardABIType ):
1858- # TODO: This may require a special function to wrap the callback
1859- # pass
1854+
18601855 def type_text (self , enable_count = False ):
18611856 return 'MPI_Delete_function *'
18621857
@@ -1874,8 +1869,6 @@ def type_text(self, enable_count=False):
18741869
18751870@Type .add_type ('USER_FUNCTION' , abi_type = ['standard' ])
18761871class TypeUserFunctionStandard (Type ):
1877- # TODO: This may require a special function to wrap the callback
1878- # pass
18791872
18801873 def type_text (self , enable_count = False ):
18811874 return 'MPI_User_function_c *' if enable_count else 'MPI_User_function *'
@@ -1987,8 +1980,6 @@ def type_text(self, enable_count=False):
19871980
19881981@Type .add_type ('GREQUEST_QUERY_FUNCTION' , abi_type = ['standard' ])
19891982class TypeGrequestQueryFunctionStandard (Type ):
1990- # TODO: This may require a special function to wrap the callback
1991- # pass
19921983
19931984 def type_text (self , enable_count = False ):
19941985 return 'MPI_Grequest_query_function *'
@@ -2002,8 +1993,6 @@ def type_text(self, enable_count=False):
20021993
20031994@Type .add_type ('GREQUEST_FREE_FUNCTION' , abi_type = ['standard' ])
20041995class TypeGrequestFreeFunctionStandard (Type ):
2005- # TODO: This may require a special function to wrap the callback
2006- # pass
20071996
20081997 def type_text (self , enable_count = False ):
20091998 return 'MPI_Grequest_free_function *'
@@ -2017,8 +2006,6 @@ def type_text(self, enable_count=False):
20172006
20182007@Type .add_type ('GREQUEST_CANCEL_FUNCTION' , abi_type = ['standard' ])
20192008class TypeGrequestCancelFunctionStandard (Type ):
2020- # TODO: This may require a special function to wrap the callback
2021- # pass
20222009
20232010 def type_text (self , enable_count = False ):
20242011 return 'MPI_Grequest_cancel_function *'
@@ -2035,8 +2022,6 @@ def type_text(self, enable_count=False):
20352022
20362023@Type .add_type ('DATAREP_CONVERSION_FUNCTION' , abi_type = ['standard' ])
20372024class TypeDatarepConversionFunctionStandard (Type ):
2038- # TODO: This may require a special function to wrap the callback
2039- # pass
20402025
20412026 @property
20422027 def is_count (self ):
@@ -2054,8 +2039,6 @@ def type_text(self, enable_count=False):
20542039
20552040@Type .add_type ('DATAREP_EXTENT_FUNCTION' , abi_type = ['standard' ])
20562041class TypeDatarepExtentFunctionStandard (Type ):
2057- # TODO: This may require a special function to wrap the callback
2058- # pass
20592042
20602043 def type_text (self , enable_count = False ):
20612044 return 'MPI_Datarep_extent_function *'
@@ -3118,7 +3101,7 @@ def parameter(self, enable_count=False, **kwargs):
31183101# better as arg to the converter code.
31193102#
31203103@Type .add_type ('WEIGHTS' , abi_type = ['standard' ])
3121- class TyperWeightStandard (StandardABIType ):
3104+ class TypeWeightStandard (StandardABIType ):
31223105
31233106 @property
31243107 def init_code (self ):
@@ -3141,7 +3124,7 @@ def type_text(self, enable_count=False):
31413124 return 'int *'
31423125
31433126@Type .add_type ('COMM_CMP_OUT' , abi_type = ['standard' ])
3144- class TyperCommCmpOutStandard (StandardABIType ):
3127+ class TypeCommCmpOutStandard (StandardABIType ):
31453128
31463129 @property
31473130 def final_code (self ):
0 commit comments