[C++-sig] Alignment problem when returning lists from C++ to Python

2011-06-20 Thread charles75
Hi, OS: UBUNTU 11.04 Could someone please help me out here. I'm using boost-python. I have written a C++ program that returns a list back to Python. The problem I'm having is that the returned data seems to be misaligned. When I run the C++ program on its own and print out the structure all see

Re: [C++-sig] Alignment problem when returning lists from C++ to Python

2011-06-20 Thread Niall Douglas
You're going to have to give a lot more information than this for anyone to help you. In particular, a highly reduced and short example of code exhibiting the problem would be very helpful. Niall On 20 Jun 2011 at 2:20, charles75 wrote: > Hi, > > OS: UBUNTU 11.04 > > Could someone please hel