def function_type(self): """returns function type. See L{type_t} hierarchy""" if self.has_static: return cpptypes.free_function_type_t( return_type=self.return_type , arguments_types=[ arg.type for arg in self.arguments ] ) else: return cpptypes.member_function_type_t( class_inst=self.parent , return_type=self.return_type , arguments_types=[ arg.type for arg in self.arguments ] , has_const=self.has_const )
def function_type(self): """returns function type. See :class:`type_t` hierarchy""" if self.has_static: return cpptypes.free_function_type_t( return_type=self.return_type, arguments_types=[arg.type for arg in self.arguments]) else: return cpptypes.member_function_type_t( class_inst=self.parent, return_type=self.return_type, arguments_types=[arg.type for arg in self.arguments], has_const=self.has_const)
def function_type(self): """returns function type. See L{type_t} hierarchy""" return cpptypes.free_function_type_t( return_type=self.return_type , arguments_types=[ arg.type for arg in self.arguments ] )
def function_type(self): """returns function type. See :class:`type_t` hierarchy""" return cpptypes.free_function_type_t( return_type=self.return_type, arguments_types=[arg.type for arg in self.arguments])