summaryrefslogtreecommitdiff
path: root/typelibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'typelibrary.cpp')
-rw-r--r--typelibrary.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/typelibrary.cpp b/typelibrary.cpp
index 2e7c15d1..b3c1293b 100644
--- a/typelibrary.cpp
+++ b/typelibrary.cpp
@@ -225,6 +225,12 @@ void TypeLibrary::RemoveMetadata(const std::string& key)
}
+Ref<Metadata> TypeLibrary::GetMetadata()
+{
+ return new Metadata(BNTypeLibraryGetMetadata(m_object));
+}
+
+
void TypeLibrary::AddNamedObject(const QualifiedName& name, Ref<Type> type)
{
BNQualifiedName qname = name.GetAPIObject();