"Paul" <paula...@gmail.com> wrote
I would like to make modules for python. The problem is that the vector of structs that is very large. First, is it possible to pass such structures around to and from python and C/C++?
Yes, Try looking at SWIG for one approach to making C/C++ code accesible to Python which may work for you
What would be the overhead cost of having a large structure that needs to be passed to and from the C/C++ modules?
I'm no expert so can't say for sure but since Pythion tends to operate with references I'd hope not too much. HTH, -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor