[][src]Function dqcsim::bindings::dqcs_arb_pop_str

#[no_mangle]pub extern "C" fn dqcs_arb_pop_str(arb: dqcs_handle_t) -> *mut c_char

Pops an unstructured string argument from the back of the list.

On success, this returns a newly allocated string containing the JSON string. Free it with free() when you're done with it to avoid memory leaks. On failure, this returns NULL. If the failure is due to the conversion from binary object to C string (i.e., embedded nulls), the data is still popped and is thus lost.