home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / g / gnu_c / gpplib22.zoo / libsrc / delete.cc < prev    next >
Encoding:
C/C++ Source or Header  |  1993-11-30  |  1.1 KB  |  38 lines

  1. #ifdef atarist
  2. #define NO_LIBGXX_MALLOC 1
  3. #endif
  4.  
  5. #ifndef NO_LIBGXX_MALLOC
  6.  
  7. // This may look like C code, but it is really -*- C++ -*-
  8.  
  9. /* 
  10. Copyright (C) 1989 Free Software Foundation
  11.     written by Doug Lea (dl@oswego.edu)
  12.  
  13. This file is part of the GNU C++ Library.  This library is free
  14. software; you can redistribute it and/or modify it under the terms of
  15. the GNU Library General Public License as published by the Free
  16. Software Foundation; either version 2 of the License, or (at your
  17. option) any later version.  This library is distributed in the hope
  18. that it will be useful, but WITHOUT ANY WARRANTY; without even the
  19. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  20. PURPOSE.  See the GNU Library General Public License for more details.
  21. You should have received a copy of the GNU Library General Public
  22. License along with this library; if not, write to the Free Software
  23. Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  24. */
  25.  
  26. #ifdef __GNUG__
  27. #pragma implementation
  28. #endif
  29. #include <stddef.h>
  30. #include <stdlib.h>
  31.  
  32. void  operator delete(void* ptr) 
  33. {
  34.   free (ptr);
  35. }
  36.  
  37. #endif
  38.