Function alpm_sys::alpm_pkg_get_origin
source · pub unsafe extern "C" fn alpm_pkg_get_origin(
pkg: *mut alpm_pkg_t
) -> alpm_pkgfrom_t
Expand description
Returns the origin of the package. @return an alpm_pkgfrom_t constant, -1 on error