TechiePi
d7a6843633
Clippy & cargo fmt
2 years ago
TechiePi
a9569b5e5a
Improve ``mii-selector`` example and a few fixes
2 years ago
TechiePi
7ca152a02a
Apply some suggestions
2 years ago
TechiePi
be87134b40
Fix ``RegionLock::None`` refactor
2 years ago
TechiePi
fe0d03cbb7
Fix Mii Selector example
2 years ago
TechiePi
1d92f0f48c
Apply suggestions
2 years ago
TechiePi
4b99e92b19
Cargo fmt & clippy
2 years ago
TechiePi
1dbb576651
Remove comment
2 years ago
TechiePi
0a6654aa55
Clippy
2 years ago
TechiePi
19ebd494d3
Add MiiData example
2 years ago
TechiePi
e6cc659ba3
Rename Mii Selector example
2 years ago
TechiePi
3c9bd8f2fe
Implement MiiData parsing
2 years ago
TechiePi
de51d97d1c
Cargo fmt
2 years ago
TechiePi
4b435614b4
Add ``mii_selector`` example
2 years ago
TechiePi
b33411f8ac
Fix bug with author and impl ``From`` for ``MiiConfigIndex``
2 years ago
TechiePi
32db2c6dbe
Initial mii selector implementation
2 years ago
Meziu
9cf5e4de94
Merge pull request #74 from Techie-Pi/master
...
Improve the ergonomics of calling ``ctru_sys`` functions
2 years ago
TechiePi
088ff85cff
use ``ctru_sys::Result`` instead of ``i32``
2 years ago
Meziu
15b5097838
Merge pull request #77 from rust3ds/fix/repo-links-update
...
Update manifest with current repo links
2 years ago
Andrea Ciliberti
fad7cd95b3
Fixed dependencies
2 years ago
Meziu
6cf43bd974
Update manifest with current repo links
2 years ago
Meziu
2e680b819d
Merge pull request #75 from Techie-Pi/chore/improve-docs-v2
...
Further improve ``bindings.rs`` documentation
2 years ago
TechiePi
c70093cdf2
Fix formatting
2 years ago
TechiePi
dff7ee19c6
Fix docstring-to-rustdoc usage
2 years ago
TechiePi
95756f7b73
Move ``docstring-to-rustdoc`` to its own crate
2 years ago
TechiePi
f896871b73
Improve implementation and improve wording
...
Co-Authored-By: Ian Chamberlain <11131775+ian-h-chamberlain@users.noreply.github.com>
2 years ago
TechiePi
06f27a35eb
Derive some traits
2 years ago
TechiePi
3d4df5b03c
Update usage of ``docstring-to-rustdoc.rs``
2 years ago
TechiePi
014332971e
Update ``doxygen-rs``
...
This commit adds support for translating:
- ``retval``
- ``return``
- ``sa``
- ``see``
- ``code``
- ``endcode``
- ``warning``
- ``ref``
- ``note``
- ``name``
There are no remaining tags in `ctru-sys` to translate
2 years ago
TechiePi
99c7a36ef0
Update ``doxygen-rs``
2 years ago
TechiePi
103355515a
Improve ``type Residual`` comment
2 years ago
TechiePi
0d31a1970a
Remove unnecesary condition and explain the ``type Residual``
2 years ago
TechiePi
1dfe050fd4
Add formatting step in ``bindgen.sh`` and fix formatting
2 years ago
TechiePi
19990694d6
Make documentation on ``bindings.rs`` more _rustdoc-ly_
...
This adds a "_bin-dependency_" on ``ctru-sys`` to doxygen-rs, a project I've been roking on to improve Doxygen to Rustdoc conversion: https://github.com/Techie-Pi/doxygen-rs
2 years ago
TechiePi
1376417aec
Change the name of ``LibCtruError`` to ``LibCtruResult``
...
Not everything wrapped in this struct is an error
2 years ago
TechiePi
9ef0a7dcd6
Fix ``camera-image.rs`` example (III)
2 years ago
TechiePi
0dc83d03f1
Fix ``camera-image.rs`` example (II)
2 years ago
TechiePi
8b4b8ef395
Fix ``camera-image.rs`` example
2 years ago
TechiePi
c3e24358b7
Remove ``synchronize_vsync_timing`` function
...
[ref](https://github.com/Meziu/ctru-rs/pull/74#issuecomment-1272454085 )
2 years ago
TechiePi
a3297aebd0
Fix ``FromResidual`` logic
2 years ago
TechiePi
28cb72addd
Fix ``Try`` logic
2 years ago
TechiePi
77709c3afd
Fix formatting
2 years ago
TechiePi
22183d8765
Improve calling ``ctru_sys `` functions ergonomics
...
Now instead of handling the error number manually, you can use ``LibCtruError(ctru_sys::xxx())?`` for the cases where ``if r < 0`` executes ``Err(r.into())``
Most changes are migrations to the new system, relevant code changes are in ``src/error.rs``
2 years ago
Meziu
ec07231e99
Merge pull request #72 from Meziu/fix/ci-apt-install
...
Fix CI by running apt-get update before install
2 years ago
Mark Drobnak
399d1b2ea2
Merge pull request #65 from SteveCookTU/camera
...
Initial CAM implementation
2 years ago
Mark Drobnak
1e1beaa35b
Fix compile error
2 years ago
Mark Drobnak
906afaffba
Apply some recent clippy lint fixes
2 years ago
Mark Drobnak
04aaff55fb
Run apt-get update before install
2 years ago
Steve Cook
79c521d935
Add explanation for buffer size
2 years ago
Steve Cook
d5ce31bf3b
Requested changes
2 years ago