[Mesa-dev] [PATCH 19/41] glapi: gl_XML.py: remove gl_api.enumIterateByName

Dylan Baker baker.dylan.c at gmail.com
Fri Apr 1 00:04:36 UTC 2016


Originally I planned to make it more efficient, but then realized that
it wasn't actually used anywhere, so lets just delete it.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 src/mapi/glapi/gen/gl_XML.py | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py
index 42fcc41..9298995 100644
--- a/src/mapi/glapi/gen/gl_XML.py
+++ b/src/mapi/glapi/gen/gl_XML.py
@@ -958,16 +958,6 @@ class gl_api(object):
     def functionIterateAll(self):
         return self.functions_by_name.itervalues()
 
-    def enumIterateByName(self):
-        keys = self.enums_by_name.keys()
-        keys.sort()
-
-        list = []
-        for enum in keys:
-            list.append(self.enums_by_name[enum])
-
-        return iter(list)
-
     def categoryIterate(self):
         """Iterate over categories.
 
-- 
2.8.0



More information about the mesa-dev mailing list