From cd9eea2fdbd51c25a9f17435c561b6fe9377960f Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 15 Oct 2025 13:07:19 -0400 Subject: Add GetTypeCount API Add note about type_names not being sorted anymore --- typecontainer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'typecontainer.cpp') diff --git a/typecontainer.cpp b/typecontainer.cpp index 244c7a27..d6283cf0 100644 --- a/typecontainer.cpp +++ b/typecontainer.cpp @@ -336,6 +336,12 @@ std::optional> TypeContainer::Get } +size_t TypeContainer::GetTypeCount() const +{ + return BNTypeContainerGetTypeCount(m_object); +} + + bool TypeContainer::ParseTypeString( const std::string& source, bool importDependencies, -- cgit v1.3.1