Update contrib.
1 // Copyright (c) 2007-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 // e32test/defrag/perf/t_testdll.cpp
15 // Used to create t_defragdll0.dll
20 #define TPS_DECLARE_ARRAY
21 #include "t_testdll.h"
24 TInt TestAlignment0(TInt aParam1, TInt aParam2);
25 TInt TestAlignment255(TInt aParam1, TInt aParam2);
27 extern "C" EXPORT_C TInt Init()
32 extern "C" EXPORT_C TUint32 FunctionCount()
34 return PAGESTRESS_FUNC_COUNT;
37 extern "C" EXPORT_C TInt CallFunction(TInt aParam1, TInt aParam2, TUint32 aIndex)
39 return CallTestFunc(aParam1, aParam2, aIndex);
43 extern "C" EXPORT_C TInt SetClose()
48 extern "C" EXPORT_C TAny *Function0Addr()
50 return (TAny *)&TestAlignment0;
53 extern "C" EXPORT_C TAny *FunctionNAddr()
55 return (TAny *)&TestAlignment255;