From 05b541adb2915f71672fd503da2bbd93fe259b64 Mon Sep 17 00:00:00 2001 From: "J.C. Jones" Date: Thu, 28 Aug 2003 19:22:27 +0000 Subject: [PATCH] Changes stroke function arguments from "const char*" to "const unsigned char *" - John Fay git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@170 7f0cb862-5218-0410-a997-914c9d46530a --- include/GL/freeglut_ext.h | 4 ++-- include/GL/glut.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/include/GL/freeglut_ext.h b/include/GL/freeglut_ext.h index 8194638..4c3ef00 100644 --- a/include/GL/freeglut_ext.h +++ b/include/GL/freeglut_ext.h @@ -86,8 +86,8 @@ FGAPI void FGAPIENTRY glutSetMenuData(void* data); */ FGAPI int FGAPIENTRY glutBitmapHeight( void* font ); FGAPI GLfloat FGAPIENTRY glutStrokeHeight( void* font ); -FGAPI void FGAPIENTRY glutBitmapString( void* font, const char *string ); -FGAPI void FGAPIENTRY glutStrokeString( void* font, const char *string ); +FGAPI void FGAPIENTRY glutBitmapString( void* font, const unsigned char *string ); +FGAPI void FGAPIENTRY glutStrokeString( void* font, const unsigned char *string ); /* * Geometry functions, see freeglut_geometry.c diff --git a/include/GL/glut.h b/include/GL/glut.h index 8856b3e..cd67d6a 100644 --- a/include/GL/glut.h +++ b/include/GL/glut.h @@ -467,8 +467,8 @@ FGAPI void FGAPIENTRY glutBitmapCharacter( void* font, int character ); FGAPI int FGAPIENTRY glutBitmapWidth( void* font, int character ); FGAPI void FGAPIENTRY glutStrokeCharacter( void* font, int character ); FGAPI int FGAPIENTRY glutStrokeWidth( void* font, int character ); -FGAPI int FGAPIENTRY glutBitmapLength( void* font, const char* string ); -FGAPI int FGAPIENTRY glutStrokeLength( void* font, const char* string ); +FGAPI int FGAPIENTRY glutBitmapLength( void* font, const unsigned char* string ); +FGAPI int FGAPIENTRY glutStrokeLength( void* font, const unsigned char* string ); /* * Geometry functions, see freeglut_geometry.c @@ -541,3 +541,4 @@ FGAPI void FGAPIENTRY glutReportErrors( void ); /*** END OF FILE ***/ #endif /* __GLUT_H__ */ + -- 1.7.10.4