()
| 12 | } |
| 13 | |
| 14 | fn state() -> &'static Mutex<SteamState> { |
| 15 | static STATE: OnceLock<Mutex<SteamState>> = OnceLock::new(); |
| 16 | STATE.get_or_init(|| Mutex::new(SteamState::default())) |
| 17 | } |
| 18 | |
| 19 | #[cfg(test)] |
| 20 | pub(crate) fn reset_for_tests() { |
no outgoing calls
no test coverage detected