-
- Downloads
Do type checking with type objects, not strings.
There is no guarantee that tp_name is unique, and it would be bad if someone fooled the type checking by simply creating a new type with the same name as an existing type.
Showing
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx 1 addition, 1 deletionWrapping/PythonCore/PyVTKMethodDescriptor.cxx
- Wrapping/PythonCore/vtkPythonOverload.cxx 20 additions, 31 deletionsWrapping/PythonCore/vtkPythonOverload.cxx
- Wrapping/PythonCore/vtkPythonUtil.cxx 53 additions, 19 deletionsWrapping/PythonCore/vtkPythonUtil.cxx
- Wrapping/PythonCore/vtkPythonUtil.h 10 additions, 0 deletionsWrapping/PythonCore/vtkPythonUtil.h
- Wrapping/Tools/vtkWrapPythonEnum.c 12 additions, 10 deletionsWrapping/Tools/vtkWrapPythonEnum.c
- Wrapping/Tools/vtkWrapPythonOverload.c 17 additions, 9 deletionsWrapping/Tools/vtkWrapPythonOverload.c
Loading
Please register or sign in to comment