From b7c5486f26386c7c165b9b05cc2d6800db082b6f Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 17 Jul 2017 14:01:48 -0400 Subject: Fix referenced to old calling convention api, Fixes #739 --- python/types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/types.py') 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 "" % (self.types, self.variables, self.functions) def preprocess_source(source, filename=None, include_dirs=[]): -- cgit v1.3.1