Make the combiner macros less likely to cause name collisions.
authorSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 1 Jul 2010 20:54:30 +0000 (16:54 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Wed, 7 Jul 2010 10:50:45 +0000 (06:50 -0400)
commit7114b2d63bd5702c94cb8aa9401c023e550c77bc
tree81db517f005b38142d6a7533f899eb029290a900
parenta92e4a6a9475e07435efb60aa2fde5fa04592d89
Make the combiner macros less likely to cause name collisions.

Protect the arguments to the combiner macros with parentheses, and
postfix their temporary variables with underscores to avoid name space
collisions with the surrounding code.

Alexander Shulgin pointed out that underscore-prefixed identifiers are
reserved for the C implementation, so we use postfix underscores
instead.
pixman/pixman-combine.h.template