As of SWIG 4.0, __swig_getmethods__ and __swig_setmethods__ are no longer defined. The solution is to stop using these internal swig dictionaries and use %attribute and %attributeref instead. I plan on doing this incrementally, with this differential serving as an example.
Details
Details
- Reviewers
labath - Group Reviewers
Restricted Project - Commits
- rG89b658428bae: [swig] Don't mess with swig internals.
rLLDB364974: [swig] Don't mess with swig internals.
rL364974: [swig] Don't mess with swig internals.
rGf9b91a527973: [swig] Define attribute(ref) instead of accessing swig internals.
rL364946: [swig] Define attribute(ref) instead of accessing swig internals.
rLLDB364946: [swig] Define attribute(ref) instead of accessing swig internals.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I'm not terribly familiar with this, but it definitely looks like a more idiomatic way to do these things.