Working on (?) signature. Some struct can have ? type, so I'm trying to 'generate' structs for user in that cases. Also I'm trying to allow user to he can define field names of struct, otherwise pyobjus will generate names for fields internaly. Work in progress...
Finished algorithm for generating unknown struct types. User can provide names for fields, or otherwise pyobjus will generate field names for user. User can review generated field names with getMembers function. I tired to use function which accepts generated unknown type, but it work only for pritive types of struct, struct types in struct currently doesn't work, because we aren't made qeuvivalent cython struct, and cast type to that cython type when we are converting python arg to C/Cython arg, so that is causing problems. I don't know how much will be usefull this feature, but in any case is better then nothing, when we return struct of uknown type, and user don't want, or don't know to define required cython struct.
If user doesn't have defined struct type in objc_py_types/objc_cy_types, and he use pyobjus feature to generate struct type from method signature, he can pass generated type to function which accepts void*, and in that function user can cast that type to appropriate objective c type, so in that case he will get correct value from revieved arguments. I will make some examples of using this feature.
Added support for returning IMP and passing IMP types as arguments. Also fixed two small bugs in existing implementation of unknown type signature. I also added some unit tests, and example of using new features in examples/unknown_type.py
Added files which contains tests and examples of new features