[PyQt] converting std::vector to PyList

Patrick Stinson patrickkidd.lists at gmail.com
Tue Mar 27 11:40:20 BST 2007


I've got a method in my C++ api that takes a std::vector & as an
argument and populates it to return a value. What would be the easiest
way to wrap this with sip? I'd like to use a python list if possible.
I can easily re-write the function to return the vector if necessary.

cheers

-- 
Patrick Kidd Stinson
http://www.patrickkidd.com/
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/


More information about the PyQt mailing list