alpm_sys

Function 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