On 28/05/2014 11:16 AM, Thor Lancelot Simon wrote:
On Tue, May 27, 2014 at 12:48:47PM +0100, Mindaugas Rasiukevicius wrote:use enums rather than #define's for things like the countersYou have enums in the public interface. I do not see a big deal, though (we still often use #defines even in the new code).Enums make debugging a little nicer, sometimes.
Yeah, they don't work so well for flags but for constants that are never combined with others, they're good. Darren