restore type hack for glGetString.xml typo
authorDaniel Hartwig <mandyke@gmail.com>
Sun, 10 Feb 2013 07:45:33 +0000 (15:45 +0800)
committerDaniel Hartwig <mandyke@gmail.com>
Sun, 10 Feb 2013 07:45:33 +0000 (15:45 +0800)
* figl/gl/types.scm (const-GLubyte*): Restore this redundant type to
  work around a typo in glGetString.xml.

figl/gl/types.scm

index cb8f3ef..1d14450 100644 (file)
@@ -64,6 +64,7 @@
             const-GLboolean-*
             const-GLbyte-*
             const-GLubyte-*
+            const-GLubyte*
             const-GLchar-*
             const-GLchar-**
             const-GLshort-*
 (define-simple-foreign-type GLvoid-** '*)
 (define-simple-foreign-type const-GLchar-** '*)
 (define-simple-foreign-type const-GLvoid-** '*)
+
+;; TODO: Hacked for a typo in glGetString.xml.
+(define-array-foreign-type const-GLubyte* GLubyte)