about summary refs log tree commit diff stats
path: root/miasm2/core/objc.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--miasm2/core/objc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/miasm2/core/objc.py b/miasm2/core/objc.py
index 91ef6604..80f1e341 100644
--- a/miasm2/core/objc.py
+++ b/miasm2/core/objc.py
@@ -430,6 +430,9 @@ class CGen(object):
         return (self.__class__ == other.__class__ and
                 self._ctype == other.ctype)
 
+    def __ne__(self, other):
+        return not self.__eq__(other)
+
     def to_c(self):
         """Generate corresponding C"""