You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does it work if you manually edit the generated code to rename the getter?
I think we use separate renamers for types vs methods. If we made the method renamer aware of all the type names, then it would rename this getter to CGImage1.
Does it work if you manually edit the generated code to rename the getter?
I think we use separate renamers for types vs methods. If we made the method renamer aware of all the type names, then it would rename this getter to CGImage1.
Yes, I can fix this error manually, why don't use cgImage instead of CGImage?
I'm not actually asking you to fix it manually. I just wanted to confirm that this fix would work before I implement it.
why don't use cgImage instead of CGImage?
The renaming needs to be something that ffigen can do programmatically. Renaming CGImage to cgImage isn't something I can do automatically in ffigen (how would it know to make only the first 2 letters lower case?).
When I tried to generate the
![截屏2024-03-14 16 06 04](https://private-user-images.githubusercontent.com/24455689/312750946-8186b4ac-bf28-4ebf-af3c-04e53ba9e918.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMjkzNjEsIm5iZiI6MTcyMTMyOTA2MSwicGF0aCI6Ii8yNDQ1NTY4OS8zMTI3NTA5NDYtODE4NmI0YWMtYmYyOC00ZWJmLWFmM2MtMDRlNTNiYTllOTE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE4VDE4NTc0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY0OGJlOTEzODBjYTMxYzUwYzRjMzI5ZTkxZWU2ZjAzZDViZDZkM2VmYWM5ZjljY2VjZjcyNGU5OGRkODY3YzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.WxzMJjwNu2-Zc4LPcJJ0_2FzUcoXAXdfpCPGilj7D0c)
UIImage
bindings, the generated code shows some errors:The wrong code is generated as follow
Maybe the
CGImage
property should changed tocgImage
?https://developer.apple.com/documentation/coreimage/ciimage/1687603-cgimage
The text was updated successfully, but these errors were encountered: