summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2021-02-26 22:07:50 -0500
committerGlenn Smith <glenn@vector35.com>2021-07-01 00:06:45 -0400
commit78f177679cfacfcfb4f9ff542cb20a04914aed1f (patch)
treefa90f64155adebba15bb7130e7583e51e73092cf /python
parenteb1b1db886babc038fb00985718f5869afb44c19 (diff)
Expose Tag::GetId
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 9dd321c1..29ecced8 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -1307,6 +1307,10 @@ class Tag(object):
return hash(ctypes.addressof(self.handle.contents))
@property
+ def id(self):
+ return core.BNTagGetId(self.handle)
+
+ @property
def type(self):
return TagType(core.BNTagGetType(self.handle))