equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <e32std.h> |
|
20 #include <e32std_private.h> |
|
21 |
|
22 EXPORT_C void operator delete(TAny *aPtr) __NO_THROW |
|
23 // |
|
24 // The replacement delete operator. |
|
25 // |
|
26 { |
|
27 |
|
28 User::Free(aPtr); |
|
29 } |
|
30 |
|
31 EXPORT_C void operator delete[](TAny * aPtr) __NO_THROW |
|
32 { |
|
33 |
|
34 User::Free(aPtr); |
|
35 } |
|
36 |
|
37 EXPORT_C void operator delete(TAny *aPtr, const std::nothrow_t& aNoThrow) __NO_THROW |
|
38 // |
|
39 // The replacement delete operator. |
|
40 // |
|
41 { |
|
42 (void)aNoThrow; |
|
43 User::Free(aPtr); |
|
44 } |
|
45 |
|
46 EXPORT_C void operator delete[](TAny * aPtr, const std::nothrow_t& aNoThrow) __NO_THROW |
|
47 { |
|
48 (void)aNoThrow; |
|
49 User::Free(aPtr); |
|
50 } |