[][src]Function dqcsim::bindings::dqcs_sim_get_version

#[no_mangle]pub extern "C" fn dqcs_sim_get_version(
    sim: dqcs_handle_t,
    name: *const c_char
) -> *mut c_char

Queries the version of a plugin, referenced by instance name.

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.