Re: [PATCH] GEODE: decouple sleep/resume from powerdown/powerup

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pavel Machek
Date: Friday, October 5, 2007 - 6:15 am

Hi!


No, please don't. Having int with 0/3 being valid specifying what to
do is evil.

enum is less evil, but what's wrong about having 3 functions?

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] GEODE: decouple sleep/resume from powerdown/powerup, Bernardo Innocenti, (Sun Sep 23, 4:11 pm)
Re: [PATCH] GEODE: decouple sleep/resume from powerdown/po ..., Pavel Machek, (Fri Oct 5, 6:15 am)
Re: [PATCH] GEODE: decouple sleep/resume from powerdown/po ..., Bernardo Innocenti, (Fri Oct 5, 11:38 am)