diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/object.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/object.cpp b/src/object.cpp index 481a3564..dc4602c7 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -126,5 +126,17 @@ weak_ref <const object> object::thisWeakRef() const } +const int object::getStrongRefCount() const +{ + return m_strongCount; +} + + +const int object::getWeakRefCount() const +{ + return static_cast <const int>(m_weakRefs.size()); +} + + } // vmime |
