Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7729 - /trunk/sat-solver/bindings/satsolver.i
  • From: kkaempf@xxxxxxxxxxxxxxxx
  • Date: Wed, 31 Oct 2007 20:27:34 -0000
  • Message-id: <20071031202734.8708D33DC5@xxxxxxxxxxxxxxxx>
Author: kkaempf
Date: Wed Oct 31 21:27:34 2007
New Revision: 7729

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7729&view=rev
Log:
fix build

Modified:
trunk/sat-solver/bindings/satsolver.i

Modified: trunk/sat-solver/bindings/satsolver.i
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/satsolver.i?rev=7729&r1=7728&r2=7729&view=diff
==============================================================================
--- trunk/sat-solver/bindings/satsolver.i (original)
+++ trunk/sat-solver/bindings/satsolver.i Wed Oct 31 21:27:34 2007
@@ -153,7 +153,7 @@
{ return ($self->count == 0); }

void clear()
- { QUEUEEMPTY($self); }
+ { queue_empty($self); }
};
%newobject queue_init;
%delobject queue_free;
@@ -196,7 +196,7 @@

%extend Solver {

- Solver( Pool *pool, Repo *system ) { return solver_create(pool, system); }
+ Solver( Pool *pool, Repo *installed ) { return solver_create(pool,
installed); }
~Solver() { solver_free($self); }

%rename("fix_system") fixsystem;
@@ -219,9 +219,9 @@
if (p < 0)
continue;
/* already installed resolvable */
- if (p >= $self->system->start && p < $self->system->start +
$self->system->nsolvables)
+ if (p >= $self->installed->start && p < $self->installed->start +
$self->installed->nsolvables)
continue;
- /** system resolvable */
+ /** installed resolvable */
if (p == SYSTEMSOLVABLE)
continue;

@@ -238,8 +238,8 @@
Solvable *s;

/* solvables to be erased */
- for (int i = $self->system->start;
- i < $self->system->start + $self->system->nsolvables;
+ for (int i = $self->installed->start;
+ i < $self->installed->start + $self->installed->nsolvables;
i++)
{
/* what is this? */

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages