From 493b6e285e8daca08bf87dd3267e7dcd5bc361ec Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Tue, 10 Jan 2023 14:27:19 -0500 Subject: Fix signature of TypeLibrary.add_named_type --- python/typelibrary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/typelibrary.py b/python/typelibrary.py index 230a3143..e844d419 100644 --- a/python/typelibrary.py +++ b/python/typelibrary.py @@ -289,7 +289,7 @@ class TypeLibrary: raise ValueError("type must be a Type") core.BNAddTypeLibraryNamedObject(self.handle, name._to_core_struct(), type.handle) - def add_named_type(self, name: 'types.QualifiedName', type: 'types.Type') -> None: + def add_named_type(self, name: 'types.QualifiedNameType', type: 'types.Type') -> None: """ `add_named_type` directly inserts a named object into the type library's object store. This is not done recursively, so care should be taken that types referring to other types -- cgit v1.3.1