projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65e6e57
)
Handle blobs better.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 30 Nov 2010 01:04:19 +0000
(
01:04
+0000)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 30 Nov 2010 01:04:19 +0000
(
01:04
+0000)
apigen/glspec.py
patch
|
blob
|
history
diff --git
a/apigen/glspec.py
b/apigen/glspec.py
index
ec8330c
..
6408acb
100755
(executable)
--- a/
apigen/glspec.py
+++ b/
apigen/glspec.py
@@
-211,7
+211,7
@@
class SpecParser(LineParser):
elif kind.startswith("array"):
arg_type = 'OpaquePointer(%s)' % base_type
- if base_type
== 'Void'
:
+ if base_type
in ('Void', 'void', 'GLvoid')
:
constructor = 'Blob'
else:
constructor = 'Array'