Re: Implementing a C function that takes a Python function as argument
Posted: Fri Jan 06, 2017 3:56 pm
Thanks again for pointing me in the right direction. I ended up using get_array, which works with bot list and tuples.
I can now take all types of arguments (but only 0 or 1) and return all types as well as arrays of all types.
At this point, I got everything I need for my proof of concept. I'm not sure how my approach can scale to the flexibility the dbus-interface has.
I can now take all types of arguments (but only 0 or 1) and return all types as well as arrays of all types.
At this point, I got everything I need for my proof of concept. I'm not sure how my approach can scale to the flexibility the dbus-interface has.