Type Alias libgit2_sys::git_stash_cb

source ·
pub type git_stash_cb = Option<extern "C" fn(index: size_t, message: *const c_char, stash_id: *const git_oid, payload: *mut c_void) -> c_int>;

Aliased Type§

enum git_stash_cb {
    None,
    Some(extern "C" fn(_: usize, _: *const i8, _: *const git_oid, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(extern "C" fn(_: usize, _: *const i8, _: *const git_oid, _: *mut c_void) -> i32)

Some value of type T.