[Xcb-commit] renderutil

Ian Osgood iano at kemper.freedesktop.org
Sat Oct 14 16:27:28 PDT 2006


 renderutil/glyph.c          |    6 +++---
 renderutil/xcb_renderutil.h |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
diff-tree 28c2d56465530fd90675a6da2e5ce490f22ccccd (from 28067bae7f889af3c8b03eec930e59215f35dcdf)
Author: Ian Osgood <iano at quirkster.com>
Date:   Sat Oct 14 16:26:44 2006 -0700

    Const correctness.

diff --git a/renderutil/glyph.c b/renderutil/glyph.c
index 852ed01..da8c53f 100644
--- a/renderutil/glyph.c
+++ b/renderutil/glyph.c
@@ -98,7 +98,7 @@ xcb_render_util_glyphs_8 (
 	int16_t  dx,
 	int16_t  dy,
 	uint32_t count,
-	uint8_t *glyphs )
+	const uint8_t *glyphs )
 {
 	_glyph_header_t header = { count, {0,0,0}, htons(dx), htons(dy) };
 
@@ -124,7 +124,7 @@ xcb_render_util_glyphs_16 (
 	int16_t  dx,
 	int16_t  dy,
 	uint32_t count,
-	uint16_t *glyphs )
+	const uint16_t *glyphs )
 {
 	uint16_t *current16;
 	_glyph_header_t header = { count, {0,0,0}, htons(dx), htons(dy) };
@@ -154,7 +154,7 @@ xcb_render_util_glyphs_32 (
 	int16_t  dx,
 	int16_t  dy,
 	uint32_t count,
-	uint32_t *glyphs )
+	const uint32_t *glyphs )
 {
 	_glyph_header_t header = { count, {0,0,0}, htons(dx), htons(dy) };
 
diff --git a/renderutil/xcb_renderutil.h b/renderutil/xcb_renderutil.h
index c374eac..33592a2 100644
--- a/renderutil/xcb_renderutil.h
+++ b/renderutil/xcb_renderutil.h
@@ -91,7 +91,7 @@ xcb_render_util_glyphs_8 (
 	int16_t  dx,
 	int16_t  dy,
 	uint32_t count,
-	uint8_t *glyphs );
+	const uint8_t *glyphs );
 
 void
 xcb_render_util_glyphs_16 (
@@ -99,7 +99,7 @@ xcb_render_util_glyphs_16 (
 	int16_t  dx,
 	int16_t  dy,
 	uint32_t count,
-	uint16_t *glyphs );
+	const uint16_t *glyphs );
 
 void
 xcb_render_util_glyphs_32 (
@@ -107,7 +107,7 @@ xcb_render_util_glyphs_32 (
 	int16_t  dx,
 	int16_t  dy,
 	uint32_t count,
-	uint32_t *glyphs );
+	const uint32_t *glyphs );
 
 void
 xcb_render_util_change_glyphset (


More information about the xcb-commit mailing list