Update contrib.
1 // Copyright (c) 1994-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32\euser\us_utl.cpp
21 GLDEF_C void Panic(TCdtPanic aPanic)
23 // Panic the process with USER as the category.
27 User::Panic(_L("USER"),aPanic);
30 EXPORT_C void User::PanicUnexpectedLeave()
32 ::Panic(EUnexpectedLeave);
35 EXPORT_C TFormatInfo::TFormatInfo()
39 :iFormatIsCurrent(FALSE),i512ByteSectorsFormatted(0),iMaxBytesPerFormat(0)
43 void TestOverflowTruncate::Overflow(TDes16 &/*aDes*/)
49 void TestOverflowTruncate::Overflow(TDes8 &/*aDes*/)
56 EXPORT_C void PanicTFixedArray()
58 Panic(EBadFixedArrayIndex);
62 // GCC support for X86
63 /*#if defined(__GCC32__) && defined(__X86__)
66 EXPORT_C int __cxa_pure_virtual()
68 // Gets called for any unreplaced pure virtual methods.
71 Panic(EPureVirtualCalled);