diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-05-20 18:34:53 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-05-22 15:09:17 -0400 |
| commit | 5094770405372098081110764843950364933904 (patch) | |
| tree | 2bfb540eb99a414917cc9565f1562e0c8be58920 /typecontainer.cpp | |
| parent | 1b579ce8166b960533e098e37a4f076ca5a8fe02 (diff) | |
Add TypeContainer::GetEmptyTypeContainer
Diffstat (limited to 'typecontainer.cpp')
| -rw-r--r-- | typecontainer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/typecontainer.cpp b/typecontainer.cpp index 5d706fbf..244c7a27 100644 --- a/typecontainer.cpp +++ b/typecontainer.cpp @@ -93,6 +93,13 @@ TypeContainer& TypeContainer::operator=(TypeContainer&& other) } +TypeContainer TypeContainer::GetEmptyTypeContainer() +{ + auto* container = BNGetEmptyTypeContainer(); + return TypeContainer(container); +} + + std::string TypeContainer::GetId() const { char* id = BNTypeContainerGetId(m_object); |
