aboutsummaryrefslogtreecommitdiff
path: root/dep/ACE_wrappers/ace/Obchunk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dep/ACE_wrappers/ace/Obchunk.cpp')
-rw-r--r--dep/ACE_wrappers/ace/Obchunk.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/Obchunk.cpp b/dep/ACE_wrappers/ace/Obchunk.cpp
index cd412e5d008..71a69d1a3e7 100644
--- a/dep/ACE_wrappers/ace/Obchunk.cpp
+++ b/dep/ACE_wrappers/ace/Obchunk.cpp
@@ -1,22 +1,30 @@
// $Id: Obchunk.cpp 80826 2008-03-04 14:51:23Z wotte $
+
#include "ace/Obchunk.h"
+
#if !defined (__ACE_INLINE__)
#include "ace/Obchunk.inl"
#endif /* __ACE_INLINE__ */
+
ACE_RCSID(ace, Obchunk, "$Id: Obchunk.cpp 80826 2008-03-04 14:51:23Z wotte $")
+
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
ACE_ALLOC_HOOK_DEFINE(ACE_Obchunk)
+
void
ACE_Obchunk::dump (void) const
{
#if defined (ACE_HAS_DUMP)
ACE_TRACE ("ACE_Obchunk::dump");
+
ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("end_ = %x\n"), this->end_));
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("cur_ = %x\n"), this->cur_));
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
#endif /* ACE_HAS_DUMP */
}
+
ACE_Obchunk::ACE_Obchunk (size_t size)
: end_ (contents_ + size),
block_ (contents_),
@@ -24,5 +32,6 @@ ACE_Obchunk::ACE_Obchunk (size_t size)
next_ (0)
{
}
+
ACE_END_VERSIONED_NAMESPACE_DECL