Commit Graph

17 Commits

Author SHA1 Message Date
Greg Pomerantz e4f7e32887 Update to Big Sur 15.5.2 / Clang 12.0.5. Improved handing of avaiability
attributes and boolean values.
2021-11-16 16:02:08 -05:00
Greg acc8cab583 Fix various memory management bugs in GC mode. 2019-06-27 11:41:58 -04:00
Greg 79bb282188 Complete conversion to pointer wrapped types. Update tests, fix
parameter handling for functions.
2019-06-13 16:47:36 -04:00
Greg ac9eecafd8 Convert all Go wrapped objects to pointers so the Go GC can track
all of the Objective-C pointers. Still working on bug with typedefs
to wrapped types.
2019-06-13 09:25:53 -04:00
Greg 9a4fabda24 Run gofmt -w on everything. Add 'gogc' option to use Go garbage
collector for memory management.
2019-06-11 12:38:22 -04:00
Greg 5a5a4f9406 AST tweaks and new tests. 2019-05-31 10:21:04 -04:00
Greg 0de9249e6a Update .gitignore. 2019-05-09 22:35:21 -04:00
Greg 511f2f1968 Improve type handling for enums. Handle "__kindof" qualifiers.
Add examples/app. Allow VisibilityAttr "Hidden".
2019-05-06 13:21:36 -04:00
Greg 717c7e76fe Change name of New* functions to *Alloc to mimic Objective-C's
nested alloc/init call idiom.
2019-05-04 23:32:57 -04:00
Greg c5a523a8b8 Add bluetooth example. 2019-05-02 14:17:11 -04:00
Greg c03e37bd54 Make a Go Interface instead of a struct for top level objects.
Use a new struct Id as a concrete version of that type.
2019-04-29 11:46:48 -04:00
Greg 977a09e77e Better handling of multiple classes and input files. Handle
Objective C type parameter declarations. Check Typedefs when
determining if a Type is a pointer or a function.
2019-04-26 22:44:30 -04:00
Greg e7270e95cf Add type parsing infrastructure. 2019-04-18 09:38:46 -04:00
Greg 0b0b73c6bd Handle class methods. 2019-04-11 17:00:36 -04:00
Greg 2fbd9134a0 Generate go and objc wrapper functions. Translate classes into wrapped
unsafe.Pointer() instances. Embed super-class to simulate inheritance
and hold pointers only at the base class.
2019-04-10 14:00:48 -04:00
Greg bcb4a0680d Identify methods from interfaces and categories, determine their
parameter and return types.
2019-04-09 23:19:49 -04:00
Greg 6a9c5c2811 Initial commit. 2019-04-09 11:52:21 -04:00