summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index b7f5b745..e7c39641 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -731,6 +731,11 @@ class BinaryViewType(with_metaclass(_BinaryViewTypeMetaclass, object)):
"""BinaryView long name (read-only)"""
return core.BNGetBinaryViewTypeLongName(self.handle)
+ @property
+ def is_deprecated(self):
+ """returns if the BinaryViewType is deprecated (read-only)"""
+ return core.BNIsBinaryViewTypeDeprecated(self.handle)
+
def create(self, data):
view = core.BNCreateBinaryViewOfType(self.handle, data.handle)
if view is None: