Age | Commit message (Collapse) | Author |
|
Make postprocessing more robust
|
|
This is done by moving all the remaining `Builder` state into
`BindgenOptions` so any internal logic that affects `Builder` state only
runs once the builder is consumed by `Builder::generate`:
- move `input_headers` to `BindgenOptions`.
- move `input_header_contents` to `BindgenOptions`.
- derive `Clone` for `Builder`.
|
|
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.
|
|
|
|
Fixes #2293
|
|
remove `clap` dependency :tada:
update the book installation instructions
|
|
|
|
|
|
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
|
|
|
|
|
|
|
|
versions, and experiment with new ones.
It's a pity that we don't support clang 3.7 and similar for generating C
bindings, when it should be straight-forward.
This should allow us to support older clang versions, and also experiment with
pre-release clang APIs if needed.
This depends on: https://github.com/KyleMayes/clang-sys/pull/44
|
|
have to do this themselves.
|
|
|