Re: [C++-sig] pygccxml and multidimensional arrays

2009-06-19 Thread Davidson, Josh
19, 2009 4:34 AM To: Development of Python/C++ integration Subject: Re: [C++-sig] pygccxml and multidimensional arrays On Thu, Apr 23, 2009 at 9:23 PM, Roman Yakovenko wrote: > On Thu, Apr 23, 2009 at 9:21 PM, Roman Yakovenko > wrote: >> On Thu, Apr 23, 2009 at 8:17 PM, Davidson, Jos

Re: [C++-sig] pygccxml and multidimensional arrays

2009-05-19 Thread Roman Yakovenko
On Thu, Apr 23, 2009 at 9:23 PM, Roman Yakovenko wrote: > On Thu, Apr 23, 2009 at 9:21 PM, Roman Yakovenko > wrote: >> On Thu, Apr 23, 2009 at 8:17 PM, Davidson, Josh >> wrote: >>> I'm using information provided by pygccxml to generate Construct objects >>> (http://construct.wikispaces.com/) th

Re: [C++-sig] pygccxml and multidimensional arrays

2009-04-23 Thread Roman Yakovenko
On Thu, Apr 23, 2009 at 9:21 PM, Roman Yakovenko wrote: > On Thu, Apr 23, 2009 at 8:17 PM, Davidson, Josh > wrote: >> I'm using information provided by pygccxml to generate Construct objects >> (http://construct.wikispaces.com/) that are capable of reading and >> writing to data structures store

Re: [C++-sig] pygccxml and multidimensional arrays

2009-04-23 Thread Roman Yakovenko
On Thu, Apr 23, 2009 at 8:17 PM, Davidson, Josh wrote: > I'm using information provided by pygccxml to generate Construct objects > (http://construct.wikispaces.com/) that are capable of reading and > writing to data structures stored in shared memory.  Right now, I just > manually reverse the ind

Re: [C++-sig] pygccxml and multidimensional arrays

2009-04-23 Thread Davidson, Josh
+-sig] pygccxml and multidimensional arrays On Wed, Apr 22, 2009 at 11:43 PM, Davidson, Josh wrote: > Is this a confirmed bug? > > Thanks, I am sorry, but I am pretty busy these days ( too much production problems and too litle people who handles them ). I will try to take a look on you

Re: [C++-sig] pygccxml and multidimensional arrays

2009-04-23 Thread Roman Yakovenko
On Wed, Apr 22, 2009 at 11:43 PM, Davidson, Josh wrote: > Is this a confirmed bug? > > Thanks, I am sorry, but I am pretty busy these days ( too much production problems and too litle people who handles them ). I will try to take a look on your problem this evening. I will let you know. Do you

Re: [C++-sig] pygccxml and multidimensional arrays

2009-04-22 Thread Davidson, Josh
++ integration Subject: Re: [C++-sig] pygccxml and multidimensional arrays Sure. 1) Put the following into a file named mdim.h: #ifndef MDIM_H_ #define MDIM_H_ #include typedef struct { uint16_t a[4][2][3]; } blah; #endif 2) Put the following into a file named parse.py: #!/usr/bin/env python

Re: [C++-sig] pygccxml and multidimensional arrays

2009-04-16 Thread Davidson, Josh
09 11:04 PM To: Development of Python/C++ integration Subject: Re: [C++-sig] pygccxml and multidimensional arrays On Tue, Apr 14, 2009 at 11:30 PM, Davidson, Josh wrote: > Machine: x86_64 running RH EL 5.0 > > Pygccxml version 1.0.0 > > Gcc-xml version 0.9.0 > > > >

Re: [C++-sig] pygccxml and multidimensional arrays

2009-04-15 Thread Roman Yakovenko
On Tue, Apr 14, 2009 at 11:30 PM, Davidson, Josh wrote: > Machine: x86_64 running RH EL 5.0 > > Pygccxml version 1.0.0 > > Gcc-xml version 0.9.0 > > > > If I create a struct similar to: > > > > typedef struct { > >     uint16_t a[4][2][3]; > > } blah; > > > > And use pygccxml to parse it, the type

[C++-sig] pygccxml and multidimensional arrays

2009-04-14 Thread Davidson, Josh
Machine: x86_64 running RH EL 5.0 Pygccxml version 1.0.0 Gcc-xml version 0.9.0 If I create a struct similar to: typedef struct { uint16_t a[4][2][3]; } blah; And use pygccxml to parse it, the type attribute for the field "a" is set to: uint16_t[3][2][4]. Does anyone know why th