[C++-sig] pygccxml and multidimensional arrays

Davidson, Josh josh.davidson at lmco.com
Tue Apr 14 22:30:30 CEST 2009


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 the dimensions are
reversed?

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20090414/8d9c3926/attachment.htm>


More information about the Cplusplus-sig mailing list