aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index e76361e..d8e3e31 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -45,6 +45,9 @@ struct ClientInner {
callbacks: Mutex<Vec<*mut libc::c_void>>,
}
+unsafe impl Send for ClientInner {}
+unsafe impl Sync for ClientInner {}
+
impl Client {
/// Attempts to initialize the steamworks api and returns
/// a client to access the rest of the api.