Mailinglist Archive: zypp-devel (53 mails)

< Previous Next >
Re: [zypp-devel] satsolver: dataiterator_init needs Pool and Repo, why ?
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Mon, 20 Oct 2008 15:11:57 +0200
  • Message-id: <20081020131157.GA14347@xxxxxxxxxxxxx>
* Michael Matz <matz@xxxxxxx> [Oct 20. 2008 15:03]:
Hi,

On Mon, 20 Oct 2008, Michael Andres wrote:

On Monday 20 October 2008 14:55:56 Klaus Kaempf wrote:
Why does dataiterator_init() need a Pool and a Repo pointer ?

The Pool pointer is already inside the Repo structure.

AFAIK it iterates all repos in case of a NULL repo ptr. For this it needs
the
pool.

That was done with a flag before the change on the weekend. I liked that
more than cluttering the API with an argument that is useless most of the
time.

Oh, good.

Next time, please put a comment to the .h or the .c file ...

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

< Previous Next >