eced251710
Create GoString helper methods for anything that has a "WithString"
...
method. Multiple bug fixes in type system, fixed parsing of id,
instancename and instancetype, allow NullableAnnotations after
generic lists (e.g. "id<ObjectType> _Nullable"). Helper function
to identify types that are function pointers.
2019-05-03 13:14:30 -04:00
be92b200ad
Handle functions identified by regexp in nswrap.toml config
...
file. Handle inherited class methods.
2019-05-01 10:58:29 -04:00
0e89d2c29a
Do not memoize type parser as it causes bugs with typedefs,
...
'instancetype' etc. Clean up typedefs and type parameters as
soon as Types are created.
2019-04-30 06:59:05 -04:00
57232548fa
Go type declarations should point to C typedefs. Add parser for
...
C enum types.
2019-04-29 13:31:13 -04:00
c0c17e88d1
Fix to go type declarations.
2019-04-29 10:37:43 -04:00
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
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
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