pkgcraft_dependency_set_insert

Function pkgcraft_dependency_set_insert 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pkgcraft_dependency_set_insert( d: *mut DependencySet, value: *mut Dependency, ) -> bool
Expand description

Insert a Dependency into a DependencySet.

Returns false if an equivalent value already exists, otherwise true.

ยงSafety

The arguments must be valid DependencySet and Dependency pointers.