From: Chia-I Wu Date: Wed, 7 Dec 2011 09:03:23 +0000 (+0800) Subject: egl: Remove unneeded _EGLBoolean X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=9b4e6d36f7c248e14ab93b1d38fbd3c1d66984dc;p=apitrace egl: Remove unneeded _EGLBoolean Use Enum instead of FakeEnum to eliminate the temporary type. --- diff --git a/specs/eglapi.py b/specs/eglapi.py index def9ae2..918d65b 100644 --- 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", ])