diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2016-07-24 19:12:18 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2016-07-24 19:12:18 -0400 |
| commit | 4b722a7961e372bd5638a0e538272395d60a1797 (patch) | |
| tree | 8adfb97a94aa01e815cb29f8e1cd7d1e26c7f3b3 /function.cpp | |
| parent | 58f251e982f7c1b59c6934a72683a75c234b3b35 (diff) | |
| parent | 11cf9f176f45f03df16bf69c5ca33789ba0ded22 (diff) | |
Merge branch 'dev' of github.com:Vector35/binaryninja-api into dev
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp index ea0fec86..55f5cffb 100644 --- a/function.cpp +++ b/function.cpp @@ -354,6 +354,18 @@ Ref<Type> Function::GetType() const } +void Function::SetAutoType(Type* type) +{ + BNSetFunctionAutoType(m_object, type->GetObject()); +} + + +void Function::SetUserType(Type* type) +{ + BNSetFunctionUserType(m_object, type->GetObject()); +} + + void Function::ApplyImportedTypes(Symbol* sym) { BNApplyImportedTypes(m_object, sym->GetObject()); |
