Re: [pygccxml-development] problem with an array of pointers
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2008-07-08 05:02:09
|
On Tue, Jul 8, 2008 at 4:47 AM, Gordon Wrigley <gor...@gm...> wrote: > This is about the size right? If so is it going to complain about every > pointer variable I have? and if that is the case then why doesn't it just > produce a warning and then assume that if it's not null then the length is > 1, that at least will work for regular pointers. > Or is this just about the combination of the pointer and the array? The combination. Py++ treats pretty well "regular" pointers and provides few call policies for convenience: http://language-binding.net/pyplusplus/documentation/functions/call_policies.html#py-defined-call-policies -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |