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 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 seems
> well.
> However when I copy the structure into the list and return this to Python
> the data is corrupted, and I've been told
> that this is an alignment issue, but I can't find a way to resolve this
> issue.
>
> Thanks in advance for any help.
>
> --
> View this message in context:
> http://boost.2283326.n4.nabble.com/Alignment-problem-when-returning-lists-from-C-to-Python-tp3610860p3610860.html
> Sent from the Python - c++-sig mailing list archive at Nabble.com.
> ___
> Cplusplus-sig mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/cplusplus-sig
--
Technology & Consulting Services - ned Productions Limited.
http://www.nedproductions.biz/. VAT reg: IE 9708311Q. Company no:
472909.
___
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig