From 35fe9fc7beea9290200e2c3301bb5e89f359189d Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Tue, 4 Jun 2013 17:55:34 +0200 Subject: Make 'dep' attribute in Ruleinfo return an object, add fromstr/tostr attributes to TransactionClass and remove old fromdep()/todep() methods --- doc/libsolv-bindings.txt | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) (limited to 'doc') diff --git a/doc/libsolv-bindings.txt b/doc/libsolv-bindings.txt index 70f3b8d..0310ce9 100644 --- a/doc/libsolv-bindings.txt +++ b/doc/libsolv-bindings.txt @@ -2159,12 +2159,19 @@ Back pointer to solver object. The type of the ruleinfo. See the constant section of the solver class for the rule type list and the special type list. - Id dep; /* read only */ + Dep *dep; /* read only */ $ruleinfo->{'dep'} ruleinfo.dep ruleinfo.dep -The id of the dependency leading to the creation of the rule, or zero. +The dependency leading to the creation of the rule. + + Dep *dep_id; /* read only */ + $ruleinfo->{'dep_id'} + ruleinfo.dep_id + ruleinfo.dep_id + +The Id of the dependency leading to the creation of the rule, or zero. Solvable *solvable; /* read only */ $ruleinfo->{'solvable'} @@ -2619,6 +2626,20 @@ The type of the transaction elements in the class. The number of elements in the class. + const char *fromstr; + $class->{'fromstr'} + class.fromstr + class.fromstr + +The old vendor or architecture. + + const char *tostr; + $class->{'tostr'} + class.tostr + class.tostr + +The new vendor or architecture. + Id fromid; $class->{'fromid'} class.fromid @@ -2642,18 +2663,6 @@ The id of the new vendor or architecture. Return the solvables for all transaction elements in the class. - Dep *fromdep(); - my $from = $class->fromdep(); - from = class.fromdep(); - from = class.fromdep(); - - Dep *todep(); - my $from = $class->todep(); - from = class.todep(); - from = class.todep(); - -The id of the vendor or architecture in Dep object form. - CHECKSUMS --------- Checksums (also called hashes) are used to make sure that downloaded data is -- cgit v1.2.3