Skip to main content

WslcProcessExitCallback

Type Alias WslcProcessExitCallback 

Source
pub type WslcProcessExitCallback = Option<unsafe extern "system" fn(exit_code: i32, context: *mut c_void)>;
Expand description

进程退出通知回调

Aliased Type§

pub enum WslcProcessExitCallback {
    None,
    Some(unsafe extern "system" fn(i32, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(i32, *mut c_void))

Some value of type T.