Details
Description
Consider a method like the following, which returns an array by reference:
class Foo
{ public: int const (&foo)[5]; };
Shiboken correctly recognizes the method, but misses that the return type is an array, and generates code as if the return type was 'int'. It would be nice if Shiboken could wrap this as returning a list/tuple without having to write a code injection. (This is possible in this case, unlike for a return of 'int const*' because the size is known.)
This is mainly for bookkeeping and/or if someone needs boredom relief. I'm not being affected by this at the moment and will probably fix it myself if/when I am.
Attachments
Issue Links
- relates to
-
PYSIDE-354 Shiboken does not handle array arguments
- Closed