aboutsummaryrefslogtreecommitdiff
path: root/src/friends.rs
diff options
context:
space:
mode:
authorMatthew Collins <[email protected]>2018-02-17 15:54:03 +0000
committerMatthew Collins <[email protected]>2018-02-17 15:54:03 +0000
commit06cc226be524fe7ea19db0b4426bfd0bed12e9fe (patch)
tree109f3c1c22205d99de3980afd724d41ba74a6a83 /src/friends.rs
parentUpdate deps (diff)
downloadsteamworks-rs-06cc226be524fe7ea19db0b4426bfd0bed12e9fe.tar.xz
steamworks-rs-06cc226be524fe7ea19db0b4426bfd0bed12e9fe.zip
Allow the use of the api across threads
Diffstat (limited to 'src/friends.rs')
-rw-r--r--src/friends.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/friends.rs b/src/friends.rs
index 4e82a37..5885e6f 100644
--- a/src/friends.rs
+++ b/src/friends.rs
@@ -43,7 +43,7 @@ bitflags! {
}
pub struct Friends {
pub(crate) friends: *mut sys::ISteamFriends,
- pub(crate) _client: Rc<ClientInner>,
+ pub(crate) _client: Arc<ClientInner>,
}
impl Friends {
@@ -105,7 +105,7 @@ unsafe impl Callback for PersonaStateChange {
pub struct Friend {
id: SteamId,
friends: *mut sys::ISteamFriends,
- _client: Rc<ClientInner>,
+ _client: Arc<ClientInner>,
}
impl Debug for Friend {