diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-11-30 17:18:46 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-11-30 17:18:46 +0000 |
commit | d37363d4c042c951cf270dfb88926590658f3262 (patch) | |
tree | 693db7e996b1aa126ba69cb3912004064dde276b /src/mesa/glapi/glapitemp.py | |
parent | 2569c3c744c20337b485253a3dc722cb8499eb0a (diff) |
added const to casts
Diffstat (limited to 'src/mesa/glapi/glapitemp.py')
-rw-r--r-- | src/mesa/glapi/glapitemp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapitemp.py b/src/mesa/glapi/glapitemp.py index ad69f48b63..cb24b04e65 100644 --- a/src/mesa/glapi/glapitemp.py +++ b/src/mesa/glapi/glapitemp.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# $Id: glapitemp.py,v 1.4 2002/01/15 19:04:53 brianp Exp $ +# $Id: glapitemp.py,v 1.5 2002/11/30 17:18:46 brianp Exp $ # Mesa 3-D graphics library # Version: 4.1 @@ -171,7 +171,7 @@ def MakePrintfString(funcName, argTypeList, argNameList): result = result + ', ' for pname in argNameList: if isPointer[i]: - result = result + '(void *) ' + result = result + '(const void *) ' result = result + pname if floatv[i] == 2: result = result + ', ' + pname + '[0], ' + pname + '[1]' |