diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libsolv-bindings.3 | 19 | ||||
-rw-r--r-- | doc/libsolv-bindings.txt | 9 | ||||
-rw-r--r-- | doc/libsolv-constantids.3 | 6 | ||||
-rw-r--r-- | doc/libsolv-history.3 | 6 | ||||
-rw-r--r-- | doc/libsolv-pool.3 | 6 | ||||
-rw-r--r-- | doc/libsolv.3 | 6 |
6 files changed, 38 insertions, 14 deletions
diff --git a/doc/libsolv-bindings.3 b/doc/libsolv-bindings.3 index 77e64c1..8dc8a42 100644 --- a/doc/libsolv-bindings.3 +++ b/doc/libsolv-bindings.3 @@ -2,12 +2,12 @@ .\" Title: Libsolv-Bindings .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets v1.78.0 <http://docbook.sf.net/> -.\" Date: 08/21/2013 +.\" Date: 09/20/2013 .\" Manual: LIBSOLV .\" Source: libsolv .\" Language: English .\" -.TH "LIBSOLV\-BINDINGS" "3" "08/21/2013" "libsolv" "LIBSOLV" +.TH "LIBSOLV\-BINDINGS" "3" "09/20/2013" "libsolv" "LIBSOLV" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -3665,6 +3665,21 @@ my \fI$cnt\fR \fB=\fR \fI$problem\fR\fB\->solution_count()\fR; .\} .sp Return the number of solutions without creating solution objects\&. +.sp +.if n \{\ +.RS 4 +.\} +.nf +\fB<stringification>\fR +my \fI$str\fR \fB=\fR \fI$problem\fR\fB\->str\fR; +\fIstr\fR \fB= str(\fR\fIproblem\fR\fB)\fR +\fIstr\fR \fB=\fR \fIproblem\fR\fB\&.to_s\fR +.fi +.if n \{\ +.RE +.\} +.sp +Return a string describing the problem\&. This is a convenience function, it is a shorthand for calling findproblemrule(), then ruleinfo() on the problem rule and problemstr() on the ruleinfo object\&. .SH "THE RULE CLASS" .sp Rules are the basic block of sat solving\&. Each package dependency gets translated into one or multiple rules\&. diff --git a/doc/libsolv-bindings.txt b/doc/libsolv-bindings.txt index 062761f..8f5f980 100644 --- a/doc/libsolv-bindings.txt +++ b/doc/libsolv-bindings.txt @@ -2276,6 +2276,15 @@ the solution class for more information. Return the number of solutions without creating solution objects. + <stringification> + my $str = $problem->str; + str = str(problem) + str = problem.to_s + +Return a string describing the problem. This is a convenience function, it is +a shorthand for calling findproblemrule(), then ruleinfo() on the problem +rule and problemstr() on the ruleinfo object. + The Rule Class -------------- Rules are the basic block of sat solving. Each package dependency gets translated diff --git a/doc/libsolv-constantids.3 b/doc/libsolv-constantids.3 index 92b5a4e..225ae7f 100644 --- a/doc/libsolv-constantids.3 +++ b/doc/libsolv-constantids.3 @@ -1,13 +1,13 @@ '\" t .\" Title: Libsolv-Constantids .\" Author: [see the "Author" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 06/18/2013 +.\" Generator: DocBook XSL Stylesheets v1.78.0 <http://docbook.sf.net/> +.\" Date: 09/20/2013 .\" Manual: LIBSOLV .\" Source: libsolv .\" Language: English .\" -.TH "LIBSOLV\-CONSTANTIDS" "3" "06/18/2013" "libsolv" "LIBSOLV" +.TH "LIBSOLV\-CONSTANTIDS" "3" "09/20/2013" "libsolv" "LIBSOLV" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/doc/libsolv-history.3 b/doc/libsolv-history.3 index 2f3df53..c4b33fc 100644 --- a/doc/libsolv-history.3 +++ b/doc/libsolv-history.3 @@ -1,13 +1,13 @@ '\" t .\" Title: Libsolv-History .\" Author: [see the "Author" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 06/11/2013 +.\" Generator: DocBook XSL Stylesheets v1.78.0 <http://docbook.sf.net/> +.\" Date: 09/20/2013 .\" Manual: LIBSOLV .\" Source: libsolv .\" Language: English .\" -.TH "LIBSOLV\-HISTORY" "3" "06/11/2013" "libsolv" "LIBSOLV" +.TH "LIBSOLV\-HISTORY" "3" "09/20/2013" "libsolv" "LIBSOLV" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/doc/libsolv-pool.3 b/doc/libsolv-pool.3 index db66aa5..748f112 100644 --- a/doc/libsolv-pool.3 +++ b/doc/libsolv-pool.3 @@ -1,13 +1,13 @@ '\" t .\" Title: Libsolv-Pool .\" Author: [see the "Author" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 06/14/2013 +.\" Generator: DocBook XSL Stylesheets v1.78.0 <http://docbook.sf.net/> +.\" Date: 09/20/2013 .\" Manual: LIBSOLV .\" Source: libsolv .\" Language: English .\" -.TH "LIBSOLV\-POOL" "3" "06/14/2013" "libsolv" "LIBSOLV" +.TH "LIBSOLV\-POOL" "3" "09/20/2013" "libsolv" "LIBSOLV" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/doc/libsolv.3 b/doc/libsolv.3 index 88180b9..da81c49 100644 --- a/doc/libsolv.3 +++ b/doc/libsolv.3 @@ -1,13 +1,13 @@ '\" t .\" Title: Libsolv .\" Author: [see the "Author" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 06/14/2013 +.\" Generator: DocBook XSL Stylesheets v1.78.0 <http://docbook.sf.net/> +.\" Date: 09/20/2013 .\" Manual: LIBSOLV .\" Source: libsolv .\" Language: English .\" -.TH "LIBSOLV" "3" "06/14/2013" "libsolv" "LIBSOLV" +.TH "LIBSOLV" "3" "09/20/2013" "libsolv" "LIBSOLV" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- |