[pygccxml-development] Automatization of input_static_array transformation
Brought to you by:
mbaas,
roman_yakovenko
From: Benoît L. <ben...@gm...> - 2009-10-26 00:23:32
|
Hello, First, thanks for the great py++/pygccxml packages. I'm pretty new to it, so please forgive my newbieness... I'll soon be using Py++ for the binding of a large c++ library, and I'm trying to detect and automatize as much as possible the binding. One thing I could not figure out is a way to detect that a function has an array passed as one of its arguments. The type of the argument is a pointer to some type, but there's no mention to the fact that it's an array, or to the size of this array. I did some tests with pygccxml and got the same result: only the fact that the argument is a pointer can be extracted. So it's up to the user to manually add the input_static_array transformation with the correct size, which I'd like to avoid. Is there a simple way to do this? Thanks! Benoit P.S. If this is not the correct place to ask such questions, let me know. |