On Wed, Aug 12, 2009 at 10:27:15AM -0700, Ka-Hing Cheung wrote: > On Wed, 2009-08-12 at 02:50 -0700, q6Yr7e0o nIJDVMjC wrote: > > Hi, > > > > > > one general question, why do you use #defines instead of enums? > > Because the constants right above are also #defines, so I just follow > the existing practice. >
Also, one bonus to defines is that you can do feature checks without being forced to use an autoconf-like system. _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users