Skip to content

Commit

Permalink
windows-bindgen 0.59
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Jan 10, 2025
1 parent c4d5551 commit 1d21eb2
Show file tree
Hide file tree
Showing 4 changed files with 373 additions and 209 deletions.
2 changes: 1 addition & 1 deletion api_gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ edition = "2021"
publish = false

[dependencies]
windows-bindgen = "0.58"
windows-bindgen = "0.59"
8 changes: 3 additions & 5 deletions api_gen/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use windows_bindgen::{bindgen, Result};
use windows_bindgen::bindgen;

fn main() -> Result<()> {
let log = bindgen(["--etc", "bindings.txt"])?;
println!("{}", log);
Ok(())
fn main() {
bindgen(["--etc", "bindings.txt"])
}
4 changes: 4 additions & 0 deletions bindings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@

--filter
Amd

--reference
windows,skip-root,ID3D12GraphicsCommandList
windows,skip-root,D3D12_GRAPHICS_PIPELINE_STATE_DESC
Loading

0 comments on commit 1d21eb2

Please sign in to comment.