[][src]Function dqcsim::bindings::dqcs_sim_get_version_idx

#[no_mangle]pub extern "C" fn dqcs_sim_get_version_idx(
    sim: dqcs_handle_t,
    index: ssize_t
) -> *mut c_char

Queries the version of a plugin, referenced by index.

On success, this returns a newly allocated string containing the version. Free it with free() when you're done with it to avoid memory leaks. On failure (i.e., the handle is invalid) this returns NULL.