]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Adapt documentation to the last change.
authorMichael Schroeder <mls@suse.de>
Wed, 24 Oct 2018 08:28:31 +0000 (10:28 +0200)
committerMichael Schroeder <mls@suse.de>
Wed, 24 Oct 2018 08:28:31 +0000 (10:28 +0200)
doc/gen/libsolv-bindings.3
doc/libsolv-bindings.txt

index c065a1319c9ba0ce26323fa76bc5a33dc5456c04..4bfab9c32df07aaf1a7d6b5eccc59649d14b1807 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: Libsolv-Bindings
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 10/22/2018
+.\"      Date: 10/24/2018
 .\"    Manual: LIBSOLV
 .\"    Source: libsolv
 .\"  Language: English
 .\"
-.TH "LIBSOLV\-BINDINGS" "3" "10/22/2018" "libsolv" "LIBSOLV"
+.TH "LIBSOLV\-BINDINGS" "3" "10/24/2018" "libsolv" "LIBSOLV"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -3161,22 +3161,22 @@ Intersect the result of the match to the current selection instead of replacing
 .\}
 .sp
 Back pointer to pool\&.
-.SS "METHODS"
 .sp
 .if n \{\
 .RS 4
 .\}
 .nf
-\fBint flags()\fR
-my \fI$flags\fR \fB=\fR \fI$sel\fR\fB\->flags()\fR;
-\fIflags\fR \fB=\fR \fIsel\fR\fB\&.flags()\fR
-\fIflags\fR \fB=\fR \fIsel\fR\fB\&.flags()\fR
+\fBint flags;\fR                              /* read only */
+\fI$sel\fR\fB\->{flags}\fR
+\fIflags\fR \fB=\fR \fIsel\fR\fB\&.flags\fR
+\fIflags\fR \fB=\fR \fIsel\fR\fB\&.flags\fR
 .fi
 .if n \{\
 .RE
 .\}
 .sp
-Return the result flags of the selection\&. The flags are a subset of the ones used when creating the selection, they describe which method was used to get the result\&. For example, if you create the selection with \(lqSELECTION_NAME | SELECTION_PROVIDES\(rq, the resulting 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\&.
+The result flags of the selection\&. The flags are a subset of the ones used when creating the selection, they describe which method was used to get the result\&. For example, if you create the selection with \(lqSELECTION_NAME | SELECTION_PROVIDES\(rq, the resulting 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\&.
+.SS "METHODS"
 .sp
 .if n \{\
 .RS 4
index 7ed2d55d877d3ec3b7b117ce8f9918c202651c24..d28b8b582dc50fa9a1320098c4b9bc484400b77c 100644 (file)
@@ -1780,14 +1780,12 @@ Intersect the result of the match to the current selection instead of replacing
 
 Back pointer to pool.
 
-=== METHODS ===
-
-       int flags()
-       my $flags = $sel->flags();
-       flags = sel.flags()
-       flags = sel.flags()
+       int flags;                              /* read only */
+       $sel->{flags}
+       flags = sel.flags
+       flags = sel.flags
 
-Return the result flags of the selection. The flags are a subset
+The result flags of the selection. The flags are a subset
 of the ones used when creating the selection, they describe which
 method was used to get the result. For example, if you create the
 selection with ``SELECTION_NAME | SELECTION_PROVIDES'', the resulting
@@ -1795,6 +1793,8 @@ 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.
 
+=== METHODS ===
+
        bool isempty()
        $sel->isempty()
        sel.isempty()