diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/__init__.py b/python/__init__.py index 64763b71..c5b7e5be 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -4342,8 +4342,9 @@ class Type(object): return Type(core.BNCreateBoolType()) @classmethod - def int(self, width, sign = True): - return Type(core.BNCreateIntegerType(width, sign)) + def int(self, width, sign = True, altname = ""): + return Type(core.BNCreateIntegerType(width, sign, + ctypes.create_string_buffer(altname))) @classmethod def float(self, width): |
