os/kernelhwsrv/kernel/eka/euser/epoc/x86/uc_utl.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1995-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 "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // e32\euser\epoc\x86\uc_utl.cpp
    15 // 
    16 //
    17 
    18 #include "u32std.h"
    19 #include <e32panic.h>
    20 #include "us_std.h"
    21 
    22 EXPORT_C void EmptyFunction()
    23  //Function with an empty body 
    24 	{
    25 	}
    26 
    27 #ifdef __GCC32__
    28 
    29 extern "C" EXPORT_C  int __cxa_pure_virtual()
    30 //
    31 // Gets called for any unreplaced pure virtual methods.
    32 //
    33 	{
    34 	Panic(EPureVirtualCalled);
    35 	return 0;
    36 	}
    37 
    38 #endif