summaryrefslogtreecommitdiff
path: root/plugins/bntl_utils/src/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/bntl_utils/src/process.rs')
-rw-r--r--plugins/bntl_utils/src/process.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/bntl_utils/src/process.rs b/plugins/bntl_utils/src/process.rs
index b287a1d4..b81986af 100644
--- a/plugins/bntl_utils/src/process.rs
+++ b/plugins/bntl_utils/src/process.rs
@@ -143,6 +143,11 @@ impl ProcessedData {
}
}
+ /// Finalizes the processed data, deduplicating types and pruning empty type libraries.
+ ///
+ /// The `default_name` should be the library name for which you want deduplicated types to be
+ /// relocated to. This does not need to be a logical-shared library name like `mylib.dll` as it will
+ /// be only referenced by other loaded type libraries (it cannot contain named objects).
pub fn finalized(mut self, default_name: &str) -> Self {
self.deduplicate_types(default_name);
// TODO: Run remap.