View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012098VTK(No Category)public2011-04-17 10:032014-10-04 18:33
ReporterDavid Gobbi 
Assigned ToDavid Gobbi 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version6.2.0 
Summary0012098: Python wrapper pointer mangling
DescriptionThe pointer mangling done by the python wrappers is done differently
in different parts of the code. It needs to be consolidated and properly
tested against SWIG pointer mangling.

Pointers should be mangled like this: _08a71808_p_vtkSomething
However, in vtkPythonArgs, void * is wrapped as _08a71808_void_p
Some demangling is also done by vtkTkRenderWidget, and various
manglings/demanglings are done in several .py files.

Type checks when demangling should incorporate an IsA check instead
of requiring an exact type match, which will require changes to the way
vtkPythonUtil::UnmanglePointer is called.
Tagshackaton
Project
Type
Attached Files

 Relationships

  Notes
(0033515)
David Gobbi (developer)
2014-10-02 14:48

http://review.source.kitware.com/#/c/17351/ [^]
(0033584)
David Gobbi (developer)
2014-10-04 18:33

commit e12eb1f415029a537a6eb52e0adfc02a81c74a5d
Author: David Gobbi <david.gobbi@gmail.com>
Date: Thu Oct 2 12:19:10 2014 -0600
12098: Mangle void_p like other swig pointers.
Change-Id: Ic58e66581b7bc56c04e91ec0060b63a8c8e4e445

 Issue History
Date Modified Username Field Change
2011-04-17 10:03 David Gobbi New Issue
2011-04-17 10:03 David Gobbi Status backlog => tabled
2011-04-17 10:03 David Gobbi Assigned To => David Gobbi
2011-06-16 13:12 Zack Galbreath Category Development => (No Category)
2014-10-02 11:29 David Gobbi Tag Attached: hackaton
2014-10-02 14:48 David Gobbi Note Added: 0033515
2014-10-02 14:48 David Gobbi Status backlog => gerrit review
2014-10-04 18:33 David Gobbi Note Added: 0033584
2014-10-04 18:33 David Gobbi Status gerrit review => closed
2014-10-04 18:33 David Gobbi Resolution open => fixed
2014-10-04 18:33 David Gobbi Fixed in Version => 6.2.0


Copyright © 2000 - 2018 MantisBT Team