X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=doc%2Flibsolv-bindings.txt;h=1f6422f180be70f01d0ac1ea9cdd678e392be8b4;hb=e9cad17338196026836b555dd971ba84ed011a9d;hp=0d336cec7af590ed89bf132540924198afc89baf;hpb=ce3d4f8072b41fd5eb64807a3616c7b30f10436c;p=platform%2Fupstream%2Flibsolv.git diff --git a/doc/libsolv-bindings.txt b/doc/libsolv-bindings.txt index 0d336ce..1f6422f 100644 --- a/doc/libsolv-bindings.txt +++ b/doc/libsolv-bindings.txt @@ -1782,7 +1782,7 @@ Back pointer to pool. === METHODS === - int flags(); + int flags() my $flags = $sel->flags(); flags = sel.flags() flags = sel.flags() @@ -1795,13 +1795,20 @@ flags will either be SELECTION_NAME or SELECTION_PROVIDES depending if there was a package that matched the name or not. If there was no match at all, the flags will be zero. - bool isempty(); + bool isempty() $sel->isempty() sel.isempty() sel.isempty? Return true if the selection is empty, i.e. no package could be matched. + Selection clone(int flags = 0) + my $cloned = $sel->clone(); + cloned = sel.clone() + cloned = sel.clone() + +Return a copy of a selection. + void filter(Selection *other) $sel->filter($other); sel.filter(other)