Recursively exports `type_obj` into `lib` as a type with name `name` As other referenced types are encountered, they are either copied into the destination type library or else the type library that provided the referenced type is added as a dependency for the destination library.
(
&self,
lib: &TypeLibrary,
name: T,
type_obj: &Type,
)
| 1774 | /// As other referenced types are encountered, they are either copied into the destination type library or |
| 1775 | /// else the type library that provided the referenced type is added as a dependency for the destination library. |
| 1776 | fn export_object_to_library<T: Into<QualifiedName>>( |
| 1777 | &self, |
| 1778 | lib: &TypeLibrary, |
| 1779 | name: T, |
| 1780 | type_obj: &Type, |
| 1781 | ) { |
| 1782 | let mut raw_name = QualifiedName::into_raw(name.into()); |
| 1783 | unsafe { |
| 1784 | BNBinaryViewExportObjectToTypeLibrary( |
| 1785 | self.as_ref().handle, |
| 1786 | lib.as_raw(), |
| 1787 | &mut raw_name, |
| 1788 | type_obj.handle, |
| 1789 | ) |
| 1790 | } |
| 1791 | QualifiedName::free_raw(raw_name); |
| 1792 | } |
| 1793 | |
| 1794 | /// Gives you details of which type library and name was used to determine |
| 1795 | /// the type of a symbol at a given address |
nothing calls this directly
no test coverage detected