[cairo-bugs] [Bug 12717] CLAMP macro instead of _cairo_restrict_value

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 6 11:48:04 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=12717


freedesktop at behdad.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NOTABUG




------- Comment #2 from freedesktop at behdad.org  2007-10-06 11:50 PST -------
The macro expands its arguments multiple times, so it's not a drop-in
replacement.  Our solution to the problem you raise is: first show us that it's
a performance bottleneck, then move the function into the header and make it
inline.  Please reopen if you do that :)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list