[cairo-bugs] [Bug 12717] New: CLAMP macro instead of _cairo_restrict_value
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Oct 6 09:19:41 PDT 2007
http://bugs.freedesktop.org/show_bug.cgi?id=12717
Summary: CLAMP macro instead of _cairo_restrict_value
Product: cairo
Version: 1.5.1
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: cworth at cworth.org
ReportedBy: bjourne at gmail.com
QAContact: cairo-bugs at cairographics.org
Here is a patch that replaces _cairo_restrict_value with a CLAMP macro. The
macro works exactly like the CLAMP macro in glib. Doing it with a macro is of
course faster, more readable (IMHO), and less code to keep around.
--
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