Skip to content

Commit 38eb602

Browse files
committed
[Rust] More misc documentation changes
1 parent 04c8df1 commit 38eb602

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

rust/src/architecture.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ impl Architecture for CoreArchitecture {
697697
/// NOTE: Only implement this method if function-level analysis is required. Otherwise, do not
698698
/// implement to let default basic block analysis take place.
699699
///
700-
/// NOTE: The default implementation exists in C++ here: https://github.com/Vector35/binaryninja-api/blob/dev/defaultabb.cpp
700+
/// NOTE: The default implementation exists in C++ here: <https://github.com/Vector35/binaryninja-api/blob/dev/defaultabb.cpp>
701701
fn analyze_basic_blocks(
702702
&self,
703703
function: &mut Function,

rust/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ pub fn license_count() -> i32 {
555555

556556
/// Set the license that will be used once the core initializes. You can reset the license by passing `None`.
557557
///
558-
/// If not set the normal license retrieval will occur:
558+
/// If not set, the normal license retrieval will occur:
559559
/// 1. Check the BN_LICENSE environment variable
560560
/// 2. Check the Binary Ninja user directory for license.dat
561561
#[cfg(not(feature = "demo"))]
@@ -623,14 +623,15 @@ pub fn add_optional_plugin_dependency(name: &str) {
623623
unsafe { BNAddOptionalPluginDependency(raw_name.as_ptr()) };
624624
}
625625

626-
// Provide ABI version automatically so that the core can verify binary compatibility
626+
/// Exported function to tell the core what core ABI version this plugin was compiled against.
627627
#[cfg(not(feature = "no_exports"))]
628628
#[no_mangle]
629629
#[allow(non_snake_case)]
630630
pub extern "C" fn CorePluginABIVersion() -> u32 {
631631
plugin_abi_version()
632632
}
633633

634+
/// Exported function to tell the core what UI ABI version this plugin was compiled against.
634635
#[cfg(not(feature = "no_exports"))]
635636
#[no_mangle]
636637
pub extern "C" fn UIPluginABIVersion() -> u32 {

0 commit comments

Comments
 (0)