Do not return when calling void functions by pvdrz · Pull Request #2497 · rust-lang/rust-bindgen
Navigation Menu
{{ message }}
rust-lang / rust-bindgen Public
- Notifications You must be signed in to change notification settings
- Fork 791
Merged
pvdrz merged 3 commits intorust-lang:mainfrom
Apr 10, 2023Merged
Do not return when calling void functions #2497
pvdrz merged 3 commits intorust-lang:mainfrom
Do not return when calling void functions #2497
pvdrz merged 3 commits intorust-lang:mainfrom
Conversation
Copy link
Contributor
pvdrz
commented
Apr 10, 2023
pvdrz
commented
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:43Update 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
merged commit
a968109
into
rust-lang:main
pvdrz
mentioned this pull request
pvdrz
deleted the
dont-return-void
branch
ojeda
mentioned this pull request
42 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment