summaryrefslogtreecommitdiff
path: root/rust/src/function.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-06-16 14:46:48 -0400
committerMason Reed <mason@vector35.com>2025-07-02 01:56:54 -0400
commit00686dfc68ee40b9b7378febadf3c27eb657dff9 (patch)
tree0d54995ab7475486732478dc87cbb306d8a2bc3e /rust/src/function.rs
parent93b524fbf9af52faf13b8647702f61e909b0cdf1 (diff)
[Rust] Remove duplicate `(&str, Variable, &Type)` named variable type impl
Diffstat (limited to 'rust/src/function.rs')
-rw-r--r--rust/src/function.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/function.rs b/rust/src/function.rs
index d126db3b..456c8f4a 100644
--- a/rust/src/function.rs
+++ b/rust/src/function.rs
@@ -936,7 +936,7 @@ impl Function {
// TODO: Turn this into an actual type?
/// List of function variables: including name, variable and type
- pub fn variables(&self) -> Array<(&str, Variable, &Type)> {
+ pub fn variables(&self) -> Array<NamedVariableWithType> {
let mut count = 0;
let vars = unsafe { BNGetFunctionVariables(self.handle, &mut count) };
assert!(!vars.is_null());