diff options
author | Brian Paul <[email protected]> | 2005-02-22 15:39:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-02-22 15:39:46 +0000 |
commit | 78123bb38b1e4638747f55ddaef39e561cd81d6e (patch) | |
tree | 847ad124d97e127155b44e9ada68031774410a09 /src/mesa/glapi/gl_XML.py | |
parent | 3c69df8a70efee6ae89615f28d25aac2323275ab (diff) |
generate enums.c file (Zack Rusin)
Diffstat (limited to 'src/mesa/glapi/gl_XML.py')
-rw-r--r-- | src/mesa/glapi/gl_XML.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/glapi/gl_XML.py b/src/mesa/glapi/gl_XML.py index b2e3cd43252..f096d3d953f 100644 --- a/src/mesa/glapi/gl_XML.py +++ b/src/mesa/glapi/gl_XML.py @@ -503,6 +503,7 @@ class FilterGLAPISpecBase(saxutils.XMLFilterBase): self.factory = glItemFactory() self.header_tag = None self.undef_list = [] + self.enums = [] def find_type(self,type_name): @@ -587,6 +588,8 @@ class FilterGLAPISpecBase(saxutils.XMLFilterBase): self.xref[obj.name] = index elif object_type == "type": self.types[obj.name] = obj + elif object_type == "enum": + self.enums.append(obj) return |