Skip to content

Commit 3bb5e33

Browse files
committed
[Rust] Add note for Function::has_explicitly_defined_type
1 parent 28a9d66 commit 3bb5e33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rust/src/function.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2334,7 +2334,9 @@ impl Function {
23342334
unsafe { BNSetAutoFunctionCanReturn(self.handle, &mut value_raw) }
23352335
}
23362336

2337-
/// Whether function has explicitly defined types
2337+
/// Whether the function type was defined with [`Function::apply_auto_discovered_type`].
2338+
///
2339+
/// NOTE: This is different from [`Function::has_user_type`].
23382340
pub fn has_explicitly_defined_type(&self) -> bool {
23392341
unsafe { BNFunctionHasExplicitlyDefinedType(self.handle) }
23402342
}

0 commit comments

Comments
 (0)