(&self)
| 328 | } |
| 329 | |
| 330 | pub fn simulator_creation_options(&self) -> Result<serde_json::Value, AppError> { |
| 331 | let json = unsafe { |
| 332 | let mut error = ptr::null_mut(); |
| 333 | let raw = ffi::xcw_native_simulator_creation_options(&mut error); |
| 334 | string_from_raw(raw, error)? |
| 335 | }; |
| 336 | serde_json::from_str(&json).map_err(|e| AppError::internal(e.to_string())) |
| 337 | } |
| 338 | |
| 339 | pub fn create_simulator( |
| 340 | &self, |
no test coverage detected