#[no_mangle] pub extern "C" fn get_current_state(sim_id: usize) -> *const c_char
Returns the state of a given simulator, serialized as a JSON object.