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
There aren't many and for now at least the ones referenced in current API coverage are manually added in the <module>_custom.go source file for module/framework packages. These are pretty easy to generate for Go, they're just types based on unsafe.Pointer. But they should live in their own generated source file and be generated based on struct symbols found that are I guess typedef struct aliases to another type with declarations like:
Typedefs that the API uses that are not generated include object/struct reference types like these:
https://developer.apple.com/documentation/coregraphics/cgcolorref
https://developer.apple.com/documentation/appkit/nsmodalsession
There aren't many and for now at least the ones referenced in current API coverage are manually added in the
<module>_custom.go
source file for module/framework packages. These are pretty easy to generate for Go, they're just types based onunsafe.Pointer
. But they should live in their own generated source file and be generated based on struct symbols found that are I guess typedef struct aliases to another type with declarations like:typedef struct CGColor CGColorRef;
typedef struct _NSModalSession NSModalSession;
They usually but don't always have a "Ref" suffix.
The text was updated successfully, but these errors were encountered: