]> git.cworth.org Git - apitrace/commitdiff
egl: Remove unneeded _EGLBoolean
authorChia-I Wu <olvaffe@gmail.com>
Wed, 7 Dec 2011 09:03:23 +0000 (17:03 +0800)
committerChia-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

index def9ae2d96d41a6bbabc96189a116fd4d90afd44..918d65bf5b77e0c1cef4f30a3a5f2fbe44ee81c3 100644 (file)
@@ -39,8 +39,7 @@ EGLSurface = Opaque("EGLSurface")
 
 EGLClientBuffer = Opaque("EGLClientBuffer")
 
-_EGLBoolean = Alias("EGLBoolean", UInt)
-EGLBoolean = FakeEnum(_EGLBoolean, [
+EGLBoolean = Enum("EGLBoolean", [
     "EGL_FALSE",
     "EGL_TRUE",
 ])