#20 Pygccxml reverses array dimensions

closed
Roman
None
5
2009-09-28
2009-04-23
No

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].

I

Discussion

  • Josh Davidson

    Josh Davidson - 2009-04-23

    Example Script

     
  • Josh Davidson

    Josh Davidson - 2009-04-23

    Example Header File

     
  • Josh Davidson

    Josh Davidson - 2009-04-23

    Execute: python parse.py
    Observe the following print statement: "a uint16_t[3][2][4]"

     
  • Roman

    Roman - 2009-05-17
    • assigned_to: nobody --> roman_yakovenko
     
  • Roman

    Roman - 2009-09-28
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks