summaryrefslogtreecommitdiff
path: root/doc/libsolv-bindings.txt
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2018-11-30 12:41:16 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2018-11-30 12:41:16 +0900
commite9cad17338196026836b555dd971ba84ed011a9d (patch)
tree8d3910263817ddbb8b1d32658db8ca881b85eb4a /doc/libsolv-bindings.txt
parentce3d4f8072b41fd5eb64807a3616c7b30f10436c (diff)
downloadlibsolv-e9cad17338196026836b555dd971ba84ed011a9d.tar.gz
libsolv-e9cad17338196026836b555dd971ba84ed011a9d.tar.bz2
libsolv-e9cad17338196026836b555dd971ba84ed011a9d.zip
Imported Upstream version 0.6.33upstream/0.6.33
Change-Id: I87909fa92d6ffc652ed1fd963141f2ea08ab4e2d Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'doc/libsolv-bindings.txt')
-rw-r--r--doc/libsolv-bindings.txt11
1 files changed, 9 insertions, 2 deletions
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)