diff options
| author | Mason Reed <mason@vector35.com> | 2026-02-19 11:19:16 -0800 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2026-02-23 00:09:44 -0800 |
| commit | 69a9f9e48d6bc76e91eec2a18cd8fee73a496b93 (patch) | |
| tree | 05753a93eccb3d1c2614b3365f620a2bf17e704b /plugins/bntl_utils/src/process.rs | |
| parent | 65c217ae27e6b0abe26d5baea40f2bab695a3651 (diff) | |
[BNTL] Misc improvements
Diffstat (limited to 'plugins/bntl_utils/src/process.rs')
| -rw-r--r-- | plugins/bntl_utils/src/process.rs | 5 |
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. |
