[PATCH 1/2] Clean up getValuatorEvents with token concatenation

Cyril Brulebois kibi at debian.org
Tue Mar 29 15:33:15 PDT 2011


Hi,

Chase Douglas <chase.douglas at canonical.com> (28/03/2011):
> +#define set_valuator_value(xv, ev, num) \
> +    xv->valuator##num = (ev)->valuators.data[(xv)->first_valuator + num];

I guess (for consistency at least) you could be using (xv)→… at the
beginning, or maybe even put () around all parameters if you wanna be
extra cautious?

KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110330/bd8a4f1e/attachment.pgp>


More information about the xorg-devel mailing list