fieker-DuValspielwiese
Last change
on this file since 0e1846 was
0e1846,
checked in by Olaf Bachmann <obachman@…>, 27 years ago
|
This commit was generated by cvs2svn to compensate for changes in r59,
which included commits to RCS files with non-trunk default branches.
git-svn-id: file:///usr/local/Singular/svn/trunk@60 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
440 bytes
|
Rev | Line | |
---|
[0e1846] | 1 | // emacs edit mode for this file is -*- C++ -*- |
---|
| 2 | // $Id: clapmem.cc,v 1.1.1.1 1997-03-19 13:18:44 obachman Exp $ |
---|
| 3 | |
---|
| 4 | #include "mod2.h" |
---|
| 5 | #ifdef HAVE_LIBFACTORY |
---|
| 6 | #include "mmemory.h" |
---|
| 7 | |
---|
| 8 | void * |
---|
| 9 | operator new[] ( size_t size ) |
---|
| 10 | { |
---|
| 11 | #ifdef MDEBUG |
---|
| 12 | return mmDBAlloc( size, "new[]",0 ); |
---|
| 13 | #else |
---|
| 14 | return AllocL( size ); |
---|
| 15 | #endif |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | void |
---|
| 19 | operator delete[] ( void * block ) |
---|
| 20 | { |
---|
| 21 | #ifdef MDEBUG |
---|
| 22 | mmDBFree( block,"delete[]",0 ); |
---|
| 23 | #else |
---|
| 24 | FreeL( block ); |
---|
| 25 | #endif |
---|
| 26 | } |
---|
| 27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.