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

ffi: use recommended stable way to represent an opaque C struct #1312

Merged
merged 1 commit into from
Dec 12, 2020

Conversation

birkenfeld
Copy link
Member

After extern { type ... } has stabilized for a while, this can
be replaced. For now, I used a macro since it is much easier to
spot the locations to touch at that time.

fixes #1311

Copy link
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this! Should we mention in the changelog?

@davidhewitt
Copy link
Member

ci failure looks unrelated

@birkenfeld
Copy link
Member Author

Thanks for fixing this! Should we mention in the changelog?

Sure, will do.

After `extern { type ... }` has stabilized for a while, this can
be replaced.  For now, I used a macro since it is much easier to
spot the locations to touch at that time.

fixes PyO3#1311
Copy link
Member

@kngwyu kngwyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kngwyu kngwyu merged commit 560fb48 into PyO3:master Dec 12, 2020
@birkenfeld birkenfeld deleted the fix-1311 branch May 21, 2021 17:11
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.

Warnings with abi3
3 participants