-
Notifications
You must be signed in to change notification settings - Fork 723
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not pass generated_name_override name to generated_link_name_override
- Loading branch information
Showing
4 changed files
with
39 additions
and
14 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
bindgen-tests/tests/expectations/tests/generated_link_name_override.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
bindgen-tests/tests/headers/generated_link_name_override.hpp
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// bindgen-parse-callbacks: prefix-link-name- | ||
// bindgen-parse-callbacks: remove-function-prefix-prefix_kept_in_link_name_only_ | ||
// prefix-link-name- with no value just ensures that the items are always given the link_name attribute. | ||
|
||
extern const int prefix_kept_in_link_name_only_var_coolConstVariable_name; | ||
|
||
extern int prefix_kept_in_link_name_only_var_coolVariable_name; | ||
|
||
void prefix_kept_in_link_name_only_function_coolFunction_name(const int x); | ||
|
This file contains 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
This file contains 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