[cairo] [PATCH] Avoid the 'xor' C++ keyword in public headers

Alp Toker alp at atoker.com
Tue Jan 15 00:31:55 PST 2008


xor is a C++ keyword. Rename this parameter to allow pixman.h inclusion
in C++ sources.
---
 pixman/pixman.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pixman/pixman.h b/pixman/pixman.h
index 7248f86..2fd3133 100644
--- a/pixman/pixman.h
+++ b/pixman/pixman.h
@@ -370,7 +370,7 @@ pixman_bool_t pixman_fill (uint32_t *bits,
 			   int y,
 			   int width,
 			   int height,
-			   uint32_t xor);
+			   uint32_t _xor);
 /*
  * Images
  */
-- 
1.5.4.rc3.4.g16335



More information about the cairo mailing list