OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-elf/] [del.cc] - Blame information for rev 156

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
#include <new>
2
 
3
extern "C" void free (void *);
4
 
5
void
6
operator delete (void *ptr, const std::nothrow_t&) throw ()
7
{
8
  if (ptr)
9
    free (ptr);
10
}
11
 
12
void
13
operator delete (void *ptr) throw ()
14
{
15
  if (ptr)
16
    free (ptr);
17
}
18
 
19
void
20
operator delete[] (void *ptr) throw ()
21
{
22
  ::operator delete (ptr);
23
}
24
 
25
void
26
operator delete[] (void *ptr, const std::nothrow_t&) throw ()
27
{
28
  ::operator delete (ptr);
29
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.