about summary refs log tree commit diff stats
path: root/miasm2/core/objc.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/core/objc.py')
-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 80f1e341..9649514d 100644
--- a/miasm2/core/objc.py
+++ b/miasm2/core/objc.py
@@ -464,6 +464,9 @@ class CGenInt(CGen):
         return (super(CGenInt, self).__eq__(other) and
                 self._integer == other.integer)
 
+    def __ne__(self, other):
+        return not self.__eq__(other)
+
     def to_c(self):
         """Generate corresponding C"""