summaryrefslogtreecommitdiff
path: root/rust/src/function.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/function.rs')
-rw-r--r--rust/src/function.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/rust/src/function.rs b/rust/src/function.rs
index 456c8f4a..55a609cf 100644
--- a/rust/src/function.rs
+++ b/rust/src/function.rs
@@ -2334,7 +2334,9 @@ impl Function {
unsafe { BNSetAutoFunctionCanReturn(self.handle, &mut value_raw) }
}
- /// Whether function has explicitly defined types
+ /// Whether the function type was defined with [`Function::apply_auto_discovered_type`].
+ ///
+ /// NOTE: This is different from [`Function::has_user_type`].
pub fn has_explicitly_defined_type(&self) -> bool {
unsafe { BNFunctionHasExplicitlyDefinedType(self.handle) }
}