(w: f64, h: f64)
| 175 | |
| 176 | #[no_mangle] |
| 177 | pub extern "C" fn bloom_watchos_set_screen(w: f64, h: f64) { |
| 178 | let s = state(); |
| 179 | s.screen_w.store(w.to_bits(), Ordering::Release); |
| 180 | s.screen_h.store(h.to_bits(), Ordering::Release); |
| 181 | } |
| 182 | |
| 183 | #[no_mangle] |
| 184 | pub extern "C" fn bloom_watchos_set_bundle_path(path: *const c_char) { |