We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b236da commit 4c5adebCopy full SHA for 4c5adeb
rust/src/types/library.rs
@@ -188,8 +188,7 @@ impl TypeLibrary {
188
/// Returns a list of all platform names that this type library will register with during platform
189
/// type registration.
190
///
191
- /// This returns strings, not Platform objects, as type libraries can be distributed with support for
192
- /// Platforms that may not be present.
+ /// Because type libraries can be distributed with platforms that do not exist, we return the names.
193
pub fn platform_names(&self) -> Array<BnString> {
194
let mut count = 0;
195
let result = unsafe { BNGetTypeLibraryPlatforms(self.as_raw(), &mut count) };
0 commit comments