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

Fix incorrect GIR due to gobject-introspection GitLab issue #189 #23

Merged
merged 1 commit into from May 27, 2018

Conversation

bvinc
Copy link
Contributor

@bvinc bvinc commented May 25, 2018

This fixes gtk-rs/sys#92. This is an alternate way of fixing it. My first attempt is the PR at gtk-rs/sys#93 where I added these functions as manual implementations.

This fixes the same issue, but by using fix.sh instead.

You can read about why the GIR is incorrect in gobject-introspection GitLab issue #189. Basically any header files that uses the [] operator will have incorrect GIR generated from it.

I took care to make sure to match the const-ness of the functions in C.

@EPashkin
Copy link
Member

@bvinc Thanks, gtk-rs/sys#93 can updated after this merged.
👍

@EPashkin
Copy link
Member

cc @GuillaumeGomez

@GuillaumeGomez
Copy link
Member

Thanks!

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.

Incorrect GIR array c:type on functions that use [] in C parameters
3 participants