blob: 7dcba12aab8e17998a1c8a564f4db9ec0f3184d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
//! [0]
./configure -static
//! [0]
//! [1]
void *operator new[](size_t size)
{
return malloc(size);
}
void *operator new(size_t size)
{
return malloc(size);
}
void operator delete[](void *ptr)
{
free(ptr);
}
void operator delete[](void *ptr, size_t)
{
free(ptr);
}
void operator delete(void *ptr)
{
free(ptr);
}
void operator delete(void *ptr, size_t)
{
free(ptr);
}
//! [1]
|