On 12/03/14 16:49, Stefan Behnel wrote:
Alan Gauld, 12.03.2014 10:11:
If it were a library then you would have to call
the individual C++ functions directly using
something like ctypes, which is usually more
complex.
ctypes won't talk to C++, but Cython can do it quite easily.
I thought it would work provided the interface functions
were declared as C functions? That might involve
writing a wrapper around it but that is usually
trivial if you have to compile the source anyway.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor