diff options
| author | Peter LaFosse <peter@vector35.com> | 2017-07-17 14:01:48 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2017-07-17 14:01:48 -0400 |
| commit | b7c5486f26386c7c165b9b05cc2d6800db082b6f (patch) | |
| tree | 6c422627c9eae445e4d218dcce5e98c998670f8a /python/types.py | |
| parent | cc3755bd0e3aa8d9706442a867b9f8713f7f32a8 (diff) | |
Fix referenced to old calling convention api, Fixes #739
Diffstat (limited to 'python/types.py')
| -rw-r--r-- | python/types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/types.py b/python/types.py index f8e416f4..84f38c91 100644 --- a/python/types.py +++ b/python/types.py @@ -274,7 +274,7 @@ class Type(object): result = core.BNGetTypeCallingConvention(self.handle) if result is None: return None - return callingconvention.CallingConvention(None, result) + return callingconvention.CallingConvention(handle=result) @property def parameters(self): @@ -746,7 +746,7 @@ class TypeParserResult(object): self.functions = functions def __repr__(self): - return "{types: %s, variables: %s, functions: %s}" % (self.types, self.variables, self.functions) + return "<types: %s, variables: %s, functions: %s>" % (self.types, self.variables, self.functions) def preprocess_source(source, filename=None, include_dirs=[]): |
