Function
bloom_watchos_touch
(index: i64, x: f64, y: f64, active: i64)
Source from the content-addressed store, hash-verified
| 164 | |
| 165 | #[no_mangle] |
| 166 | pub extern "C" fn bloom_watchos_touch(index: i64, x: f64, y: f64, active: i64) { |
| 167 | let s = state(); |
| 168 | let i = index as usize; |
| 169 | if i < MAX_TOUCH { |
| 170 | s.touch_x[i].store(x.to_bits(), Ordering::Release); |
| 171 | s.touch_y[i].store(y.to_bits(), Ordering::Release); |
| 172 | s.touch_active[i].store(active as u64, Ordering::Release); |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | #[no_mangle] |
| 177 | pub extern "C" fn bloom_watchos_set_screen(w: f64, h: f64) { |
Callers
nothing calls this directly
Tested by
no test coverage detected