We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4918f7 commit bbc2cc5Copy full SHA for bbc2cc5
lib/src/lib.rs
@@ -5,7 +5,7 @@ pub mod windows_ansi;
5
pub mod spritesheet;
6
pub mod dither;
7
pub mod font;
8
-pub mod install;
+pub mod suite;
9
10
use std::path::Path;
11
@@ -48,17 +48,15 @@ pub unsafe extern "C" fn geode_version() -> i32 {
48
pub unsafe extern "C" fn geode_install_suite(
49
location: *const c_char,
50
nightly: bool,
51
- callback: install::SuiteProgressCallback
+ callback: suite::SuiteProgressCallback
52
) -> *const c_char {
53
- match crate::install::install_suite(
+ match crate::suite::install_suite(
54
Path::new(c2string(location)),
55
nightly,
56
callback
57
) {
58
Ok(_) => std::ptr::null(),
59
- Err(b) => {
60
- string2c(b)
61
- }
+ Err(b) => string2c(b)
62
}
63
64
lib/src/install.rs renamed to lib/src/suite.rs
0 commit comments