Document return values
[ACE_TAO.git] / ACE / ace / Obchunk.cpp
blobdb6ee4b94fe7a0b834a502f721d8cc096efb83cd
1 #include "ace/Obchunk.h"
2 #if defined (ACE_HAS_ALLOC_HOOKS)
3 # include "ace/Malloc_Base.h"
4 #endif /* ACE_HAS_ALLOC_HOOKS */
6 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
8 ACE_ALLOC_HOOK_DEFINE(ACE_Obchunk)
10 void
11 ACE_Obchunk::dump () const
13 #if defined (ACE_HAS_DUMP)
14 ACE_TRACE ("ACE_Obchunk::dump");
16 ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
17 ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("end_ = %x\n"), this->end_));
18 ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("cur_ = %x\n"), this->cur_));
19 ACELIB_DEBUG ((LM_DEBUG, ACE_END_DUMP));
20 #endif /* ACE_HAS_DUMP */
23 ACE_Obchunk::ACE_Obchunk (size_t size)
24 : end_ (contents_ + size),
25 block_ (contents_),
26 cur_ (contents_),
27 next_ (0)
31 ACE_END_VERSIONED_NAMESPACE_DECL