Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#52 Missing use of the array/pointer '[]' in a method parameter

closed
nobody
None
5
2012-10-31
2012-10-30
jon
No

Example:

void spam(char* argv[]);

The returned 'parameters' element for this method is:

'parameters': [{'constant': 0, 'name': 'argv', 'reference': 0, 'type': 'char *', 'static': 0, 'pointer': 1}]

The extra array/pointer is missing and the 'pointer' key is not of the correct value.

Discussion

  • Did you check the array attribute? not all fields are listed when printing out the header object since there are so many.

     
  • jon
    jon
    2012-10-31

    senexcanis, you are right. The array attr exists. I must admit, using this module feels like a treasure-hunt at times!

     
  • jon
    jon
    2012-10-31

    • status: open --> closed
     
  • Glad to help. Out of curiosity, what are you using the library for?