diff options
| author | Xusheng <xusheng@vector35.com> | 2020-09-28 16:50:27 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2020-10-16 23:06:25 +0800 |
| commit | ba72c577874c83567737d08ca64d3e52090763b7 (patch) | |
| tree | f5a1c8d1778795f56e1657924ae50bd53adbd730 /binaryviewtype.cpp | |
| parent | 8961012dca58c18afcdf1985b1cb554a5b1ad4c2 (diff) | |
add unit test for deprecated BinaryViewType
expose FileMetadata::GetExistingViews()
Diffstat (limited to 'binaryviewtype.cpp')
| -rw-r--r-- | binaryviewtype.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binaryviewtype.cpp b/binaryviewtype.cpp index f8f58da0..8b0f8007 100644 --- a/binaryviewtype.cpp +++ b/binaryviewtype.cpp @@ -214,6 +214,10 @@ string BinaryViewType::GetLongName() return result; } +bool BinaryViewType::IsDeprecated() +{ + return BNIsBinaryViewTypeDeprecated(m_object); +} CoreBinaryViewType::CoreBinaryViewType(BNBinaryViewType* type): BinaryViewType(type) { |
