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

Make bindgen generate CStrs and such #1804

Conversation

workingjubilee
Copy link
Member

@workingjubilee workingjubilee commented Aug 14, 2024

While cutting a release, I noticed our bindgen options were wonky. I fixed a few blocklistings and adjusted the bindgen settings. Most of this should be invisible. There's only one case affected by nested struct naming, and it's not even present in pg16 and later. But the most notable change, and one that I expect might force people to have to update their code: now const strings from C are CStrs!

@eeeebbbbrrrr
Copy link
Contributor

now const strings from C are CStrs!

That's very nice.

@workingjubilee
Copy link
Member Author

I should default to checking pg16 instead of pg13~14.

@workingjubilee workingjubilee merged commit 41bd6e0 into pgcentralfoundation:develop Aug 14, 2024
14 checks passed
@workingjubilee workingjubilee deleted the make-bindgen-use-cstrs branch August 14, 2024 15:28
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