Mailinglist Archive: zypp-devel (115 mails)
| < Previous | Next > |
Re: [zypp-devel] tribool ... (Fwd)
- From: Michael Andres <ma@xxxxxxx>
- Date: Mon, 30 Jul 2007 17:29:05 +0200
- Message-id: <20070730152905.GA16405@xxxxxxx>
On Tue, Jul 24, Stanislav Visnovsky wrote:
> D??a Ut 24. J??l 2007 14:36 Michael Andres nap??sal:
> > On Tue, Jul 24, Stanislav Visnovsky wrote:
> > > Hi!
> > >
> > > What is the reasoning behind using tribool? This seems to be the biggest
> > > headache for application developers so far...
> >
> > The tribool is fine -- zypp internally.
> >
> > 'indeterminate' state tells that we have to compute some reasonable
> > defaut value. This should be done internally.
> >
> > We'll change the API too return bool.
>
> Sounds good. Thanks for looking into this!
JFYI: With libzypp-3.13.1 (SVN revision 6301) the tribools are
replaced by bool.
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
> D??a Ut 24. J??l 2007 14:36 Michael Andres nap??sal:
> > On Tue, Jul 24, Stanislav Visnovsky wrote:
> > > Hi!
> > >
> > > What is the reasoning behind using tribool? This seems to be the biggest
> > > headache for application developers so far...
> >
> > The tribool is fine -- zypp internally.
> >
> > 'indeterminate' state tells that we have to compute some reasonable
> > defaut value. This should be done internally.
> >
> > We'll change the API too return bool.
>
> Sounds good. Thanks for looking into this!
JFYI: With libzypp-3.13.1 (SVN revision 6301) the tribools are
replaced by bool.
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |