Re: [C++-sig] from-python converter for aligned class

2012-02-12 Thread Jim Bosch
On 02/12/2012 12:49 PM, Václav Šmilauer wrote: I wrote a custom to-python converter for an aligned struct (It is a 128-bit aligned vector type from the http://eigen.tuxfamily.org library). I followed http://www.boost.org/doc/libs/1_39_0/libs/python/doc/v2/faq.html#custom_string), the converter lo

[C++-sig] from-python converter for aligned class

2012-02-12 Thread Václav Šmilauer
I wrote a custom to-python converter for an aligned struct (It is a 128-bit aligned vector type from the http://eigen.tuxfamily.org library). I followed http://www.boost.org/doc/libs/1_39_0/libs/python/doc/v2/faq.html#custom_string), the converter looks like this: class AlignedType{ /*...