diff options
| author | Camille Mougey <commial@gmail.com> | 2018-04-19 19:26:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-19 19:26:09 +0200 |
| commit | a4dbb99d5d169d79828caec9e20dc4392f9be95a (patch) | |
| tree | cbba60755e94e26ac29aa2574d93358c1c73ab5c /miasm2/core/objc.py | |
| parent | 145c218af968bea37ecc8a89585686e68566a875 (diff) | |
| parent | 7d4100ea290c0bd60ee225a401786bc856d92615 (diff) | |
| download | miasm-a4dbb99d5d169d79828caec9e20dc4392f9be95a.tar.gz miasm-a4dbb99d5d169d79828caec9e20dc4392f9be95a.zip | |
Merge pull request #725 from serpilliere/fix_eq_ne
Fix __ne__ calls
Diffstat (limited to '')
| -rw-r--r-- | miasm2/core/objc.py | 3 |
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""" |