Fix optionality of return types in C-style function mappings

Description

This declaration from FunctionMappings.def:

should be:

... because the Swit declaration here:
https://developer.apple.com/documentation/coregraphics/cgaffinetransform/1455666-init
starts with `init()` rather than `init?()`

 

For now, I’ve manually changed the return type for some mappings in FunctionMappings.def.

 

See also CGAffineTransformShouldReturnNonOptionalunit test.

Environment

None

Assignee

Alex Petuschak

Reporter

Alex Petuschak

Labels

None

Git Branch Name

None

GitHub Issue

None

Components

Fix versions

Priority

High
Configure