Function alpm_sys::alpm_pkg_compute_optionalfor
source · pub unsafe extern "C" fn alpm_pkg_compute_optionalfor(
pkg: *mut alpm_pkg_t
) -> *mut alpm_list_t
Expand description
Computes the list of packages optionally requiring a given package. The return value of this function is a newly allocated list of package names (char*), it should be freed by the caller. @param pkg a package @return the list of packages optionally requiring pkg