Skip to content

SWIG: Ensure SWIG 4.4 compatibility#510

Merged
jmr merged 1 commit into
google:masterfrom
jmr:py-type-err
Jan 6, 2026
Merged

SWIG: Ensure SWIG 4.4 compatibility#510
jmr merged 1 commit into
google:masterfrom
jmr:py-type-err

Conversation

@jmr
Copy link
Copy Markdown
Member

@jmr jmr commented Dec 31, 2025

SWIG_Python_TypeError was removed in SWIG 4.4.
Use %argument_fail instead.

Fixes #487.

SWIG_Python_TypeError was removed in SWIG 4.4.
Use %argument_fail instead.

Fixes google#487.
@jmr
Copy link
Copy Markdown
Member Author

jmr commented Dec 31, 2025

@hobu Please try this. I don't have SWIG 4.4.

@hobu
Copy link
Copy Markdown

hobu commented Dec 31, 2025

Compiles for me, so that means it is correct, right? 😄 (I gave up trying to get the tests running on OSX)

@jmr jmr merged commit 33c202a into google:master Jan 6, 2026
24 of 27 checks passed
@jmr jmr deleted the py-type-err branch January 6, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SWIG_Python_TypeError removed in SWIG 4.4

2 participants