Function pkgcraft::pkg::pkgcraft_pkg_as_ebuild
source · [−]#[no_mangle]
pub unsafe extern "C" fn pkgcraft_pkg_as_ebuild(
p: *mut Pkg<'_>
) -> *const EbuildPkg<'_>Expand description
Convert a Pkg into an EbuildPkg.
Returns NULL on error.
Safety
The argument must be a non-null Pkg pointer.