[][src]Function dqcsim::bindings::dqcs_sim_send

#[no_mangle]pub extern "C" fn dqcs_sim_send(
    sim: dqcs_handle_t,
    data: dqcs_handle_t
) -> dqcs_return_t

Sends a message to the simulated accelerator.

This is an asynchronous call: nothing happens until yield(), recv(), or wait() is called.

The ArbData handle is optional; if 0 is passed, an empty data object is used. If a handle is passed, it is consumed if and only if the API call succeeds.