From: José Fonseca Date: Thu, 15 Sep 2011 07:21:09 +0000 (+0100) Subject: Add a few comments. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=069b97f9e8caae9f83a20c5cf7d64f05faa8343e;p=apitrace Add a few comments. --- diff --git a/glparams.py b/glparams.py index bc350a4..7f4c2d8 100644 --- a/glparams.py +++ b/glparams.py @@ -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