On Tue, Dec 11, 2012 at 8:14 PM, Hendrik van Arragon <harri...@gmx.de> wrote: > Hi, > > I've made a little class for serial communication, which i want to export > from c++ to python. My problem is, that this class does not know what data > it's receiving. The layer above the protocol knows how to handle the data. > Here is an example: > ... > Maybe it is possible to get a ctype-pointer and use the > copy_to_void()-Funktion. But i don't know how????
Take a look on py++ documentation, unittests and examples. They contain information how to integrate ctypes & boost.python in a single module or even class. HTH, Roman _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig