Changes stroke function arguments from "const char*" to "const unsigned char *" ...
authorJ.C. Jones <jc@insufficient.coffee>
Thu, 28 Aug 2003 19:22:27 +0000 (19:22 +0000)
committerJ.C. Jones <jc@insufficient.coffee>
Thu, 28 Aug 2003 19:22:27 +0000 (19:22 +0000)
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
include/GL/glut.h

index 8194638..4c3ef00 100644 (file)
@@ -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
index 8856b3e..cd67d6a 100644 (file)
@@ -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__ */
+