Commit Graph

14 Commits

Author SHA1 Message Date
ead1623d4b Eliminate unnecessary code from wrap/main.go. Include full attributes
in return types of C functions to reduce compiler warnings.
2019-04-26 15:08:44 -04:00
4f260dda0e Fix handling of id and void* types. Add helper functions to convert
char* to and from Go strings. Parse block (^) types. Skip methods
with functions as parameters. Fix passing pointers go C code.
2019-04-26 14:08:43 -04:00
98e19ca726 Fix handling of wrapped types. Use new type system for go
function declarations. Working wrapper for simple test case.
2019-04-26 10:56:00 -04:00
e143dbb6a7 Fixed type wrapping, further conversion to new type system. The
Go side looks pretty good at this point.
2019-04-26 10:07:34 -04:00
fb21881a8b Add type conversion functions to types package. Start moving the
wrapper to the new type system. Intermediate commit before I rip
out the old stuff, not working yet.
2019-04-26 09:04:53 -04:00
885658b67b Implement new type system. Working wrapper for simple Objective-C
interfaces.
2019-04-23 15:48:11 -04:00
e7270e95cf Add type parsing infrastructure. 2019-04-18 09:38:46 -04:00
0b0b73c6bd Handle class methods. 2019-04-11 17:00:36 -04:00
3ecb3b1eeb Fix types in c and go parameter lists. 2019-04-11 13:09:02 -04:00
9e3c7c2ce8 Fix objective-c method calls. 2019-04-11 12:00:10 -04:00
74f4073d35 Improved type handling. 2019-04-11 11:46:24 -04:00
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
bcb4a0680d Identify methods from interfaces and categories, determine their
parameter and return types.
2019-04-09 23:19:49 -04:00
6a9c5c2811 Initial commit. 2019-04-09 11:52:21 -04:00