aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlaise <[email protected]>2019-07-29 09:26:02 -0500
committerMatthew Collins <[email protected]>2019-07-30 10:36:45 +0100
commit37a33d1de0f95183faefe1645a1dc1b8117e7e93 (patch)
tree3f226f39524469a020769963193cdb2bfcd010bc /src
parentAdd PublishedFileId struct (diff)
downloadarchived-steamworks-rs-37a33d1de0f95183faefe1645a1dc1b8117e7e93.tar.xz
archived-steamworks-rs-37a33d1de0f95183faefe1645a1dc1b8117e7e93.zip
Updated to support SDK version 1.45 on Mac OS
Diffstat (limited to 'src')
-rw-r--r--src/app.rs4
-rw-r--r--src/matchmaking.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/app.rs b/src/app.rs
index 882053e..c221049 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -78,7 +78,7 @@ impl <Manager> Apps<Manager> {
}
}
- /// Returns the buildid of this app.
+ /// Returns the build id of this app.
pub fn app_build_id(&self) -> i32 {
unsafe {
sys::SteamAPI_ISteamApps_GetAppBuildId(self.apps) as i32
@@ -146,4 +146,4 @@ impl <Manager> Apps<Manager> {
}
}
}
-} \ No newline at end of file
+}
diff --git a/src/matchmaking.rs b/src/matchmaking.rs
index 6788450..061c9ef 100644
--- a/src/matchmaking.rs
+++ b/src/matchmaking.rs
@@ -13,7 +13,7 @@ const CALLBACK_BASE_ID: i32 = 500;
pub enum LobbyType {
Private,
FriendsOnly,
- Public ,
+ Public,
Invisible,
}
@@ -179,4 +179,4 @@ fn test_lobby() {
single.run_callbacks();
::std::thread::sleep(::std::time::Duration::from_millis(100));
}
-} \ No newline at end of file
+}