diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
commit | 3df4acfa816441fc28a95dee6d0191a927145d95 (patch) | |
tree | b5ae7ca44662cfd8e5c95f1826e4406021a606f5 /ace/OS_Memory.cpp | |
parent | 60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff) | |
download | ATCD-pre-subset.tar.gz |
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'ace/OS_Memory.cpp')
-rw-r--r-- | ace/OS_Memory.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/ace/OS_Memory.cpp b/ace/OS_Memory.cpp deleted file mode 100644 index 4dfea835b72..00000000000 --- a/ace/OS_Memory.cpp +++ /dev/null @@ -1,43 +0,0 @@ -// $Id$ - -#include "ace/OS_Memory.h" - -ACE_RCSID(ace, OS_Memory, "$Id$") - -#if !defined (ACE_HAS_INLINED_OSCALLS) -# include "ace/OS_Memory.inl" -#else /* !ACE_HAS_INLINED_OSCALLS */ -#if defined (__hpux) && !defined (__GNUG__) -static int shut_up_aCC = 0; -#endif /* HPUX && !g++ */ -#endif /* !ACE_HAS_INLINED_OS_CALLS */ - -void * -ACE_OS_Memory::malloc (size_t nbytes) -{ - return ACE_MALLOC_FUNC (nbytes); -} - -void * -ACE_OS_Memory::calloc (size_t elements, size_t sizeof_elements) -{ -#if !defined (ACE_HAS_WINCE) - return ACE_CALLOC_FUNC (elements, sizeof_elements); -#else - // @@ This will probably not work since it doesn't consider - // alignment properly. - return ACE_MALLOC_FUNC (elements * sizeof_elements); -#endif /* ACE_HAS_WINCE */ -} - -void * -ACE_OS_Memory::realloc (void *ptr, size_t nbytes) -{ - return ACE_REALLOC_FUNC (ACE_MALLOC_T (ptr), nbytes); -} - -void -ACE_OS_Memory::free (void *ptr) -{ - ACE_FREE_FUNC (ACE_MALLOC_T (ptr)); -} |