From 3520262824637979418554656607433424896809 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Wed, 4 Mar 2026 15:54:50 -0500 Subject: Add TypeLibrary::Register, to allow loading type libraries from script --- python/typelibrary.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'python') diff --git a/python/typelibrary.py b/python/typelibrary.py index b02fbfda..5dec0fd9 100644 --- a/python/typelibrary.py +++ b/python/typelibrary.py @@ -241,6 +241,12 @@ class TypeLibrary: """ return core.BNFinalizeTypeLibrary(self.handle) + def register(self) -> None: + """ + Make a created or loaded Type Library available for Platforms to use when loading binaries. + """ + core.BNRegisterTypeLibrary(self.handle) + def query_metadata(self, key: str) -> 'metadata.MetadataValueType': """ `query_metadata` retrieves a metadata associated with the given key stored in the type library -- cgit v1.3.1