On Mon, May 25, 2015 at 3:39 AM, Trigve Siver via Cplusplus-sig
wrote:
>
>
>>
>> How can results be returned in function arguments?
>>
>
>
> I don't think that you can return arguments by reference/pointers in python.
> You could theoretically pass a mutable sequence (list) and push the objects
How can results be returned in function arguments?
I've include my example C++ extension and Python code below.
I've tried, what I think, are some obvious approaches (Python objects,
ctypes), though none have worked.
It seems like this should be doable.
If the python code owns, say, a c_int, I