Jeff Muizelaar <[email protected]> writes: > These macros reuse their value which makes them prone to bugs like: > > cairo: ce3ad6f41edf86ed6914f4d7f364111eba42ca65 > > We should either use inline functions or trickier macros.
Yeah, good catch. It probably would make sense to take the macros that Alan pointed out, convert them to inline functions, then use those. I guess one question is if we can rely on the system macros to not evaluate their arguments in this manner. The ones on Linux seem to be fine, but I don't know about other systems. Soren _______________________________________________ Pixman mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pixman
