summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2016-03-29 13:19:04 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2016-03-31 16:03:58 -0700
commit0546cc6ad80364d9fa5126d2d528d4ecf27df563 (patch)
tree39250676f1e65f152c034fcc943cd7e478ff3930
parent730f5796893c4f969703e8ce23f944620ca33d8e (diff)
glapi: gl_XML.py: remove gl_api.enumIterateByName
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@intel.com>
-rw-r--r--src/mapi/glapi/gen/gl_XML.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py
index 42fcc41dfc..9298995d07 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.