On 04/20/16 10:04, Pedro Giffuni wrote:


On 04/20/16 09:41, Conrad Meyer wrote:
On Wed, Apr 20, 2016 at 7:33 AM, Pedro Giffuni <p...@freebsd.org> wrote:
One of the things I dislike is that most of the macros are in
lowercase. Lowercase would make sense if these were inline functions
but inline functions have disadvantages for these use cases.
OTOH, if they were uppercase, they would not be very easy on the eyes,
which is the current advantage.


You bring up a good point.  Obviously nitems() can't be an inline
function, but roundup2() and friends could.  Is there any reason not
to change them over to inline functions?


That would be interesting. The question would be if there are type
issues. I guess most uses require ints but some many use size_t.


s/many/may/

Pedro.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to