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
)
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
),
31 ACE_END_VERSIONED_NAMESPACE_DECL