diff options
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp index 37192ba0..04318393 100644 --- a/function.cpp +++ b/function.cpp @@ -1051,6 +1051,12 @@ void Function::SetUserType(Type* type) } +bool Function::HasUserType() const +{ + return BNFunctionHasUserType(m_object); +} + + void Function::SetReturnType(const Confidence<Ref<Type>>& type) { BNTypeWithConfidence tc; |
