MantisBT - VTK
View Issue Details
0012098VTK(No Category)public2011-04-17 10:032014-10-04 18:33
David Gobbi 
David Gobbi 
normalminoralways
closedfixed 
 
6.2.0 
0012098: Python wrapper pointer mangling
The 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.
hackaton
Issue History
2011-04-17 10:03David GobbiNew Issue
2011-04-17 10:03David GobbiStatusbacklog => tabled
2011-04-17 10:03David GobbiAssigned To => David Gobbi
2011-06-16 13:12Zack GalbreathCategoryDevelopment => (No Category)
2014-10-02 11:29David GobbiTag Attached: hackaton
2014-10-02 14:48David GobbiNote Added: 0033515
2014-10-02 14:48David GobbiStatusbacklog => gerrit review
2014-10-04 18:33David GobbiNote Added: 0033584
2014-10-04 18:33David GobbiStatusgerrit review => closed
2014-10-04 18:33David GobbiResolutionopen => fixed
2014-10-04 18:33David GobbiFixed in Version => 6.2.0

Notes
(0033515)
David Gobbi   
2014-10-02 14:48   
http://review.source.kitware.com/#/c/17351/ [^]
(0033584)
David Gobbi   
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