[PATCH 01/18] include: introduce byte counting functions.

Jonathan Morton jonathan.morton at movial.com
Thu Jul 9 04:04:00 PDT 2009


> If you want to make the names _really_ short, you might consider the 
> convention used in the linux kernel and some other places: u8, s8, u16, s16, 
> u32.... etc, very short and still readable ;-)

The signed/unsigned fact is probably irrelevant for these macros, as
they are calculating quantities rather than converting pointers.  I
would say num_8s_for_64s(words), etc.

-- 
------
From: Jonathan Morton
      jonathan.morton at movial.com




More information about the xorg-devel mailing list