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

Remove all transmute calls in generated code #896

Merged
merged 1 commit into from
Apr 10, 2020

Conversation

GuillaumeGomez
Copy link
Member

Regen sample: gtk-rs/gtk#983

cc @EPashkin @sdroege

@sdroege
Copy link
Member

sdroege commented Apr 10, 2020

👍

@EPashkin
Copy link
Member

@GuillaumeGomez Thanks.

@EPashkin EPashkin merged commit 9abee2e into gtk-rs:master Apr 10, 2020
@GuillaumeGomez GuillaumeGomez deleted the no-more-transmute branch April 10, 2020 07:41
@GuillaumeGomez
Copy link
Member Author

Time to regen everything then!

@sdroege
Copy link
Member

sdroege commented Apr 12, 2020

@sdroege
Copy link
Member

sdroege commented Apr 12, 2020

I think this happens here because there are more casts than needed and it happens to cast something wrong. We should probably replace the second _ with gobject_sys::GCallback in the generated code.

@GuillaumeGomez
Copy link
Member Author

Please open an issue so we can take a look.

@sdroege
Copy link
Member

sdroege commented Apr 13, 2020

See #901

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.

None yet

3 participants