[PATCH 2/4] Rename region macros to mixed case and remove screen argument

Keith Packard keithp at keithp.com
Wed May 26 14:57:18 PDT 2010


On Wed, 26 May 2010 16:54:44 +0100, Daniel Stone <daniel at fooishbar.org> wrote:

> Can we just man up and use NULL? (Or if we don't, define NullRegion to
> be NULL instead of 0.)

NullRegion has the advantage of providing both visual and compiler type
checking in functions containing numerous arguments. I've found that
useful at times.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100526/b184cc41/attachment.pgp>


More information about the xorg-devel mailing list