diff options
| author | KyleMiles <krm504@nyu.edu> | 2021-02-10 22:04:29 +0000 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2021-03-18 01:50:19 +0000 |
| commit | 534c3bc85860d2c14a490cf68ea1174cb9edbfde (patch) | |
| tree | f7b21045d0f2ab855c49da8b38440977f971a72e /rust/src/function.rs | |
| parent | 1515df8e71412787470b27d04ed9b2944fca0fdc (diff) | |
Better type support
Diffstat (limited to 'rust/src/function.rs')
| -rw-r--r-- | rust/src/function.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/function.rs b/rust/src/function.rs index ec83fa41..41c3a973 100644 --- a/rust/src/function.rs +++ b/rust/src/function.rs @@ -230,7 +230,7 @@ impl Function { } } - pub fn set_user_type(&self, t: &Type) { + pub fn set_user_type(&self, t: Type) { unsafe { BNSetFunctionUserType(self.handle, t.handle); } |
