Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Method renamer should include type names. #1007

@yanshouwang

Description

@yanshouwang

When I tried to generate the UIImage bindings, the generated code shows some errors:
截屏2024-03-14 16 06 04
The wrong code is generated as follow

....
  ffi.Pointer<CGImage> get CGImage {
    return _lib._objc_msgSend_1228(_id, _lib._sel_CGImage1);
  }
...
final class CGImage extends ffi.Opaque {}
...

Maybe the CGImage property should changed to cgImage?
https://developer.apple.com/documentation/coreimage/ciimage/1687603-cgimage

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions