Mailinglist Archive: zypp-devel (115 mails)
| < Previous | Next > |
Re: [zypp-devel] tribool ... (Fwd)
- From: Michael Andres <ma@xxxxxxx>
- Date: Tue, 24 Jul 2007 14:36:08 +0200
- Message-id: <20070724123608.GA12478@xxxxxxx>
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.
--
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
> 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.
--
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 > |