Skip to content

Commit

Permalink
Make postprocessing more robust
Browse files Browse the repository at this point in the history
This is done by merging extern blocks and sorting items in every module
instead of just in the root module.

The tests were changed to use `cxx` namespaces so they effectively check
that items are manipulated correctly in every single module.
  • Loading branch information
pvdrz committed Oct 6, 2022
1 parent 576fd8d commit 4dd91ff
Show file tree
Hide file tree
Showing 12 changed files with 681 additions and 208 deletions.
113 changes: 84 additions & 29 deletions bindgen-tests/tests/expectations/tests/merge-extern-blocks.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

220 changes: 220 additions & 0 deletions bindgen-tests/tests/expectations/tests/sort-items.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4dd91ff

Please sign in to comment.