]> git.cworth.org Git - apitrace/commitdiff
Add a few comments.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 15 Sep 2011 07:21:09 +0000 (08:21 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 15 Sep 2011 07:21:09 +0000 (08:21 +0100)
glparams.py

index bc350a4f80c4b90c7020ec372a2e68b36b273458..7f4c2d8c1b364b7402e879c783e3de5805c0bb49 100644 (file)
@@ -33,7 +33,7 @@ from gltypes import *
 
 
 # Shorthands for the types
-X = None # To be determined
+X = None # To be determined, merely an enum
 B = GLboolean
 I = GLint
 I64 = GLint64
@@ -44,6 +44,8 @@ P = OpaquePointer(Void)
 S = CString
 H = GLhandleARB
 
+# A underscore prefix (e.g., _glGet) is used to skip automatic code generation
+# for parameters that are obtained through other ways.
 
 parameters = [
     # (functions, type, count, name) # value