diff options
| author | Mason Reed <mason@vector35.com> | 2025-12-07 17:29:41 -0500 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2025-12-10 17:35:19 -0500 |
| commit | bc195c1c21da0400a1a1dde1fcdde45d687e666f (patch) | |
| tree | 988a57bfc57044127c902f31cc269507d9703a35 /rust/src/lib.rs | |
| parent | ce81158ad5495b888b190e042d8b9712730ee494 (diff) | |
[Rust] Add misc documentation
Diffstat (limited to 'rust/src/lib.rs')
| -rw-r--r-- | rust/src/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rust/src/lib.rs b/rust/src/lib.rs index ad1d910d..deaeb097 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -555,7 +555,7 @@ pub fn license_count() -> i32 { /// Set the license that will be used once the core initializes. You can reset the license by passing `None`. /// -/// If not set the normal license retrieval will occur: +/// If not set, the normal license retrieval will occur: /// 1. Check the BN_LICENSE environment variable /// 2. Check the Binary Ninja user directory for license.dat #[cfg(not(feature = "demo"))] @@ -623,7 +623,7 @@ pub fn add_optional_plugin_dependency(name: &str) { unsafe { BNAddOptionalPluginDependency(raw_name.as_ptr()) }; } -// Provide ABI version automatically so that the core can verify binary compatibility +/// Exported function to tell the core what core ABI version this plugin was compiled against. #[cfg(not(feature = "no_exports"))] #[no_mangle] #[allow(non_snake_case)] @@ -631,6 +631,7 @@ pub extern "C" fn CorePluginABIVersion() -> u32 { plugin_abi_version() } +/// Exported function to tell the core what UI ABI version this plugin was compiled against. #[cfg(not(feature = "no_exports"))] #[no_mangle] pub extern "C" fn UIPluginABIVersion() -> u32 { |
