diff options
| author | Josh Ferrell <josh@vector35.com> | 2023-01-10 14:27:19 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2023-01-10 14:27:19 -0500 |
| commit | 493b6e285e8daca08bf87dd3267e7dcd5bc361ec (patch) | |
| tree | 492c403be14cd35193c8f1d27756912fcc698629 /python/typelibrary.py | |
| parent | 8d8ff383fcadfae36136ddb09faea6774b0419d0 (diff) | |
Fix signature of TypeLibrary.add_named_type
Diffstat (limited to 'python/typelibrary.py')
| -rw-r--r-- | python/typelibrary.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
