Do not return when calling void functions by pvdrz · Pull Request #2497 · rust-lang/rust-bindgen

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@pvdrz

Copy link

Contributor

@pvdrz pvdrz commented

Apr 10, 2023

Update the code generation for the --wrap-static-fns feature so the wrapper for a static function that returns void no longer contains a return statement and only calls the function instead.

pvdrz added 3 commits

April 10, 2023 16:43
Update the code generation for the `--wrap-static-fns` feature so the
wrapper for a static function that returns `void` no longer contains a
`return` statement and only calls the function instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@pvdrz