Browse Source

Fix docstring-to-rustdoc usage

pull/75/head
TechiePi 2 years ago
parent
commit
dff7ee19c6
  1. 2
      ctru-sys/bindgen.sh
  2. 4
      ctru-sys/docstring-to-rustdoc/src/main.rs
  3. 11475
      ctru-sys/src/bindings.rs

2
ctru-sys/bindgen.sh

@ -29,6 +29,6 @@ bindgen "$DEVKITPRO/libctru/include/3ds.h" \
-D__3DS__ \ -D__3DS__ \
> src/bindings.rs > src/bindings.rs
cargo docstring-to-rustdoc src/bindings.rs cargo run --package docstring-to-rustdoc -- src/bindings.rs
cargo fmt --all cargo fmt --all

4
ctru-sys/docstring-to-rustdoc/src/main.rs

@ -2,8 +2,8 @@
//! //!
//! # Usage //! # Usage
//! //!
//! `cargo docstring-to-rustdoc [location of the bindings.rs]` //! `cargo run --package docstring-to-rustdoc -- [location of the bindings.rs]`
//! Example: `cargo docstring-to-rustdoc src/bindings.rs` //! Example: `cargo run --package docstring-to-rustdoc -- src/bindings.rs`
//! //!
//! # Transformations //! # Transformations
//! //!

11475
ctru-sys/src/bindings.rs

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save