(path: *const c_char)
| 182 | |
| 183 | #[no_mangle] |
| 184 | pub extern "C" fn bloom_watchos_set_bundle_path(path: *const c_char) { |
| 185 | if path.is_null() { return; } |
| 186 | let s = unsafe { std::ffi::CStr::from_ptr(path) }; |
| 187 | if let Ok(str) = s.to_str() { |
| 188 | textures::set_bundle_path(str); |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | // Draw-list snapshot accessors for Swift Canvas. |
| 193 |
nothing calls this directly
no test coverage detected