kernel/eka/compsupp/symcpp/rtopdel.cpp
changeset 9 96e5fb8b040d
child 10 36bfc973b146
equal deleted inserted replaced
-1:000000000000 9:96e5fb8b040d
       
     1 /*
       
     2 * Copyright (c) 2008-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 * This file is part of scppnwdl.dll.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #include <e32std.h>
       
    21 #include <e32std_private.h>
       
    22 
       
    23 EXPORT_C void operator delete(TAny *aPtr) __NO_THROW
       
    24 	{
       
    25 
       
    26 	User::Free(aPtr);
       
    27 	}
       
    28 
       
    29 EXPORT_C void operator delete[](TAny * aPtr) __NO_THROW
       
    30     {
       
    31 
       
    32     User::Free(aPtr);
       
    33     }
       
    34 
       
    35 EXPORT_C void operator delete(TAny *aPtr, const std::nothrow_t& aNoThrow) __NO_THROW
       
    36 	{
       
    37 	(void)aNoThrow;
       
    38 	User::Free(aPtr);
       
    39 	}
       
    40 
       
    41 EXPORT_C void operator delete[](TAny * aPtr, const std::nothrow_t& aNoThrow) __NO_THROW
       
    42 	{
       
    43 	(void)aNoThrow;
       
    44 	User::Free(aPtr);
       
    45 	}