[vtk-developers] python wrapping bug?

David Gobbi david.gobbi at gmail.com
Sat Jul 24 13:16:59 EDT 2010


If you do find that more types can be successfully python-wrapped,
don't be shy about pushing the changes.  I'll be committing the
keyword fixes sometime this afternoon.

  David


On Sat, Jul 24, 2010 at 10:55 AM,  <clinton at elemtech.com> wrote:
>
> Thanks, I also thought they just needed to be ignored.
> I was experimenting with external types in the VTK wrappers and I ended up with explicit being a type instead of a keyword, and it gave me compile errors.
>
> Clint
>
> ----- Original Message -----
>> Hi Clinton,
>>
>> I'm glad to hear that you are using this stuff, so far I have received
>> zero feedback from people using vtkVariant or the vtkArray helper
>> classes from python.
>>
>> There are a handful of C++ keywords that aren't understood by the
>> wrappers yet. They're all trivial to add, since the parser mostly
>> just has to ignore them... I've just been lazy. So, yeah, I'd better
>> add them, eh?
>>
>> David
>>
>>
>> On Sat, Jul 24, 2010 at 9:49 AM, Clinton Stimpson
>> <clinton at elemtech.com> wrote:
>> >  Hi,
>> >
>> > It appears the wrapping code doesn't handle the c++ keyword
>> > "explicit"
>> > correctly.
>> > It fails to wrap a couple constructors in vtkArrayExtents which have
>> > the
>> > explicit keyword.
>> > Should it handle those?
>> >
>> > Clint
>> >
>> > _______________________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.vtk.org/mailman/listinfo/vtk-developers
>> >
>> >
>



More information about the vtk-developers mailing list