MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / simulator_creation_options

Method simulator_creation_options

packages/server/src/native/bridge.rs:330–337  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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,

Callers 1

simulator_create_optionsFunction · 0.80

Calls 2

string_from_rawFunction · 0.85

Tested by

no test coverage detected