From 78f177679cfacfcfb4f9ff542cb20a04914aed1f Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Fri, 26 Feb 2021 22:07:50 -0500 Subject: Expose Tag::GetId --- python/binaryview.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python/binaryview.py') diff --git a/python/binaryview.py b/python/binaryview.py index 9dd321c1..29ecced8 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -1306,6 +1306,10 @@ class Tag(object): def __hash__(self): 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)) -- cgit v1.3.1