Fix wrapping exclusion of enums in namespaces
The hierarchy files applied the WRAPEXCLUDE flag to all enums in namespaces, even though these enums are wrappable. In particular the vtkDICOM DC namespace enums were not properly wrapped for VTK 9.1, even though they had been wrapped for VTK 9.0 and earlier.
Reported in discourse: "vtk-9-1-python-overloaded-method-call-broken".
Merge request reports
Activity
changed milestone to %9.2
added lang:python label
Errors:
- commit d1ce23e7 is not allowed because the following files are not formatted according to the 'clang-format' check:
Wrapping/Tools/vtkWrapHierarchy.c
. Post a comment ending in the lineDo: reformat
to rewrite the MR source branch automatically.
Warnings:
- please consider adding a changelog entry in a file ending with
.md
inDocumentation/release/dev
.
The warnings do not need to be fixed, but it is recommended to do so.
Please rewrite commits to fix the errors listed above (adding fixup commits will not resolve the errors) and force-push the branch again to update the merge request.
- commit d1ce23e7 is not allowed because the following files are not formatted according to the 'clang-format' check:
added 1 commit
- 2401c08e - Fix wrapping exclusion of enums in namespaces
@ben.boeckel this fixes a wrapping regression vs. VTK 9.0 for vtkDICOM. Can you review? CDash results are clean.
mentioned in commit 560b2e96
mentioned in merge request !9080 (merged)