We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TypeLibrary.duplicate
1 parent 2b948ac commit 30e7d0cCopy full SHA for 30e7d0c
2 files changed
plugins/bntl_utils/src/tbd.rs
python/typelibrary.py
@@ -139,6 +139,14 @@ def name(self, value:str):
139
"""Sets the name of a type library instance that has not been finalized"""
140
core.BNSetTypeLibraryName(self.handle, value)
141
142
+ def duplicate(self) -> 'TypeLibrary':
143
+ """
144
+ Creates a new type library instance with a random GUID and the same data as the current instance.
145
+
146
+ :rtype: TypeLibrary
147
148
+ return TypeLibrary(core.BNDuplicateTypeLibrary(self.handle))
149
150
@property
151
def dependency_name(self) -> Optional[str]:
152
"""
0 commit comments