From 9b4e6d36f7c248e14ab93b1d38fbd3c1d66984dc Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 7 Dec 2011 17:03:23 +0800 Subject: [PATCH] egl: Remove unneeded _EGLBoolean Use Enum instead of FakeEnum to eliminate the temporary type. --- specs/eglapi.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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", ]) -- 2.7.4