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
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
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
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
+-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
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
++ 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
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
>
>
>
>
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
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
10 matches
Mail list logo