MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bloom_watchos_set_screen

Function bloom_watchos_set_screen

native/watchos/src/lib.rs:177–181  ·  view source on GitHub ↗
(w: f64, h: f64)

Source from the content-addressed store, hash-verified

175
176#[no_mangle]
177pub 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]
184pub extern "C" fn bloom_watchos_set_bundle_path(path: *const c_char) {

Callers

nothing calls this directly

Calls 1

stateFunction · 0.85

Tested by

no test coverage detected