Commit 24f76ac6 authored by Robert Bradshaw's avatar Robert Bradshaw

Py3 fix.

parent 843c2a69
......@@ -2231,6 +2231,12 @@ class TemplatePlaceholderType(CType):
else:
return cmp(type(self), type(other))
def __eq__(self, other):
if isinstance(other, TemplatePlaceholderType):
return self.name == other.name
else:
return False
class CEnumType(CType):
# name string
# cname string or None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment