diff options
Diffstat (limited to 'type.cpp')
| -rw-r--r-- | type.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1157,6 +1157,16 @@ Confidence<Ref<Type>> TypeBuilder::GetChildType() const } +TypeBuilder& TypeBuilder::SetChildType(const Confidence<Ref<Type>>& child) +{ + BNTypeWithConfidence childType; + childType.type = child->GetObject(); + childType.confidence = child.GetConfidence(); + BNTypeBuilderSetChildType(m_object, &childType); + return *this; +} + + Confidence<Ref<CallingConvention>> TypeBuilder::GetCallingConvention() const { BNCallingConventionWithConfidence cc = BNGetTypeBuilderCallingConvention(m_object); |
