-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
According to [Rust's C-GETTER convention] function names should not have a `get_` prefix, and we maintain this standard in some but not all parts of the `ndk`. Consistenize that by dropping it everywhere, and add `doc(alias)`es to at least these functions (as I have been doing to new API wrappers added over the past few months too) to make it easier for users to find by the original NDK C symbol name. In addition the `audio` module received some extra doc cleanup to get rid of redundant `Available since API level xx.` doc-comments (these are already provided via `feature`s and `doc_cfg`) as well as vague statements about integer return values when the return type has been translated to a `Return<()>`. [Rust's C-GETTER convention]: https://rust-lang.github.io/api-guidelines/naming.html#getter-names-follow-rust-convention-c-getter
- Loading branch information
Showing
6 changed files
with
249 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.