how to pass C++ object to another C++ function via Python function

grbgooglefan ganeshborse at gmail.com
Fri May 9 09:34:02 EDT 2008


Yes, that worked. I "protected" the variable which I did not want to
get freed. I incremented reference for that variable & it started
working.

Thanks for all your guidance.

On May 3, 5:23 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote:
> Python will do nothing with the pointer inside a PyCObject - unless you  
> want to, and pass a cleanup function as the second argument to the  
> PyCObject constructor.
>
> --
> Gabriel Genellina- Hide quoted text -
>
> - Show quoted text -




More information about the Python-list mailing list