0
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of the License "ARM EABI LICENCE.txt"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// in kernel/eka/compsupp.
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// This file is part of scppnwdl.dll.
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
#include <e32std.h>
|
|
19 |
#include <e32std_private.h>
|
|
20 |
|
|
21 |
EXPORT_C void operator delete(TAny *aPtr) __NO_THROW
|
|
22 |
{
|
|
23 |
|
|
24 |
User::Free(aPtr);
|
|
25 |
}
|
|
26 |
|
|
27 |
EXPORT_C void operator delete[](TAny * aPtr) __NO_THROW
|
|
28 |
{
|
|
29 |
|
|
30 |
User::Free(aPtr);
|
|
31 |
}
|
|
32 |
|
|
33 |
EXPORT_C void operator delete(TAny *aPtr, const std::nothrow_t& aNoThrow) __NO_THROW
|
|
34 |
{
|
|
35 |
(void)aNoThrow;
|
|
36 |
User::Free(aPtr);
|
|
37 |
}
|
|
38 |
|
|
39 |
EXPORT_C void operator delete[](TAny * aPtr, const std::nothrow_t& aNoThrow) __NO_THROW
|
|
40 |
{
|
|
41 |
(void)aNoThrow;
|
|
42 |
User::Free(aPtr);
|
|
43 |
}
|