[GCC-XML] Functions that takes array as argument - small advice needed

Roman Yakovenko roman.yakovenko at gmail.com
Tue Apr 11 14:23:25 EDT 2006


Hi. I have small problem with xml generated by GCC-XML.
Please consider next use case:

void do_smth( int array[23] );

GCC-XML generates xml, where it presents function argument as pointer
to integer.

I understand that this is a correct behaviour.

I created code generator based on GCC-XML for boost.python library.  The fact,
that the information ( array and size ) is missed, makes code
generator less powerful
and forces users to write code.

What solution can you propose? Can GCC-XML write some additional information
about arguments? May be the whole argument text ( int array[23] ) as is?

Thanks for help.

--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the gccxml mailing list