#[unsafe(no_mangle)]pub unsafe extern "C" fn ket_process_new(
config: *mut (ExecutionTarget, Option<QuantumExecution>),
process: &mut *mut Process,
) -> i32Expand description
Creates a new Process instance with the given process ID.
§Arguments
config- [in] A mutable pointer to aConfigurationinstance.process- [out] A mutable pointer to aProcesspointer.
§Returns
An integer representing the error code. 0 indicates success.
§Safety
This function is marked as unsafe because it deals with raw pointers.