Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix duplicated function names (#2341)
Even though this change does name deduplication in a slower way, it avoids name collisions without any breaking changes in the test suite. Fixes #2202
- Loading branch information
Showing
3 changed files
with
88 additions
and
9 deletions.
There are no files selected for viewing
67 changes: 67 additions & 0 deletions
67
bindgen-tests/tests/expectations/tests/duplicated-definition-count.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,6 @@ | ||
class BitStream { | ||
public: | ||
void Write(const char *inputByteArray, unsigned int numberOfBytes); | ||
void Write(BitStream *bitStream, unsigned numberOfBits); | ||
void Write1(); | ||
}; |
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