aboutsummaryrefslogtreecommitdiff
path: root/dep/ACE_wrappers/ace/Obchunk.cpp
diff options
context:
space:
mode:
authorNeo2003 <none@none>2008-10-04 06:17:19 -0500
committerNeo2003 <none@none>2008-10-04 06:17:19 -0500
commit5651828bf74edb760d67700942fc65d51c816e0a (patch)
tree1631f319bbc293794109f990beaccfd5b6cee8fe /dep/ACE_wrappers/ace/Obchunk.cpp
parentca7a4bf1a78a1ddc6eb21238cc2a1633194a11cc (diff)
[svn] * Added ACE for Linux and Windows (Thanks Derex for Linux part and partial Windows part)
* Updated to 6721 and 676 * Fixed TrinityScript logo * Version updated to 0.2.6721.676 --HG-- branch : trunk rename : 6700-670 => 6721-676
Diffstat (limited to 'dep/ACE_wrappers/ace/Obchunk.cpp')
-rw-r--r--dep/ACE_wrappers/ace/Obchunk.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/Obchunk.cpp b/dep/ACE_wrappers/ace/Obchunk.cpp
new file mode 100644
index 00000000000..cbe56af7de7
--- /dev/null
+++ b/dep/ACE_wrappers/ace/Obchunk.cpp
@@ -0,0 +1,36 @@
+// $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_),
+ cur_ (contents_),
+ next_ (0)
+{
+}
+
+ACE_END_VERSIONED_NAMESPACE_DECL