Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SWIG_AppendOutput to support swig 4.3 #256

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

pemensik
Copy link
Contributor

Swig has changed language specific AppendOutput functions. But helper macro SWIG_AppendOutput remains unchanged. Use that everywhere instead of SWIG_Python_AppendOutput, which would require one extra parameter since swig 4.3.0.

https://github.com/swig/swig/blob/v4.3.0/CHANGES.current#L376 swig/swig#2905

Swig has changed language specific AppendOutput functions. But helper
macro SWIG_AppendOutput remains unchanged. Use that everywhere instead
of SWIG_Python_AppendOutput, which would require one extra parameter
since swig 4.3.0.

https://github.com/swig/swig/blob/v4.3.0/CHANGES.current#L376
swig/swig#2905
@pemensik
Copy link
Contributor Author

I admit I am not sure how to test this change, whether it does not break functionality. But it builds. Original patch provided by swig maintainer.

@pemensik
Copy link
Contributor Author

It seems most of failues are caused by not implemented CLA and IPN records, from https://datatracker.ietf.org/doc/draft-johnson-dns-ipn-cla/07/. Not related to these changes.

@pemensik
Copy link
Contributor Author

PR #257 seems to be a duplicate of this proposal. Not sure if proposed by original change author, do not know his or her name.

@wtoorop
Copy link
Member

wtoorop commented Oct 29, 2024

I'll have a look (also at the differences of the two PRs) next week or so, and credit both of you if it is indeed similar ;)

@pemensik
Copy link
Contributor Author

pemensik commented Nov 25, 2024

My change were created by William @wsfulton, maintainer of swig. I have just added commit message to explain why it happened, but the code changes originate to William. I had just bare patch without commit message, I were unable to post original git change. I think #257 has the same source.

Related links:

@pemensik
Copy link
Contributor Author

Ideally William should create PR himself, so proper authorship is tracked on github.

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.

2 participants