Re: [pygccxml-development] array_t vs pointer_t
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-04-11 12:58:54
|
On 4/11/06, Matthias Baas <ba...@ir...> wrote: > Hi again, > > I'm wrapping a method that takes one single argument of type "double > scale[3]". In the argument list of the corresponding declaration object > this appears as a pointer_t object with a double_t object as base. What > I'm missing is the '3'. > I noticed that pyplusplus defines a type array_t. Shouldn't the above > argument be an array_t instead of a pointer_t to a double? Is this a bug > in pyplusplus, in gccxml or something else? I could be wrong, but this is how C/C++ works. Array is passed by pointers. Am I wrong? Even if I wrong, GCC-XML reports this. I will think what can be done. > - Matthias - -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |