[][src]Function alpm_sys::alpm_remove_pkg

pub unsafe extern "C" fn alpm_remove_pkg(
    handle: *mut alpm_handle_t,
    pkg: *mut alpm_pkg_t
) -> c_int

Add a package removal action to the transaction. @param handle the context handle @param pkg the package to uninstall @return 0 on success, -1 on error (pm_errno is set accordingly)