Function ket_process_get_dump_size

Source
#[no_mangle]
pub extern "C" fn ket_process_get_dump_size(
    process: &Process,
    index: usize,
    available: &mut bool,
    size: &mut usize,
) -> i32
Expand description

Retrieves the size of the dump data from the Process instance.

§Arguments

  • process - [in] A reference to the Process instance.
  • index - [in] The index of the dump to query.
  • available - [out] A mutable pointer to a bool indicating if the result is available.
  • size - [out] A mutable pointer to the size of the basis states in the dump.

§Returns

An integer representing the error code. 0 indicates success.