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:
127cc23
)
egl: Remove unneeded _EGLBoolean
author
Chia-I Wu
<olvaffe@gmail.com>
Wed, 7 Dec 2011 09:03:23 +0000
(17:03 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Wed, 7 Dec 2011 10:24:27 +0000
(18:24 +0800)
Use Enum instead of FakeEnum to eliminate the temporary type.
specs/eglapi.py
patch
|
blob
|
history
diff --git
a/specs/eglapi.py
b/specs/eglapi.py
index
def9ae2
..
918d65b
100644
(file)
--- a/
specs/eglapi.py
+++ b/
specs/eglapi.py
@@
-39,8
+39,7
@@
EGLSurface = Opaque("EGLSurface")
EGLClientBuffer = Opaque("EGLClientBuffer")
-_EGLBoolean = Alias("EGLBoolean", UInt)
-EGLBoolean = FakeEnum(_EGLBoolean, [
+EGLBoolean = Enum("EGLBoolean", [
"EGL_FALSE",
"EGL_TRUE",
])