os/kernelhwsrv/kerneltest/e32test/dll/t_dlla3.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1997-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 // e32test\dll\t_dlla3.cpp
    15 // 
    16 //
    17 
    18 #include <e32svr.h>
    19 
    20 TInt initialisedData=0x12345678;
    21 TInt moreInitialisedData=0x9abcdef0;
    22 
    23 EXPORT_C TInt Function3()
    24 	{
    25 	return 3;
    26 	}
    27 
    28 EXPORT_C TInt Function4()
    29 	{
    30 	return 4;
    31 	}
    32 
    33 EXPORT_C TInt GetDll3Data()
    34 	{
    35 	return initialisedData;
    36 	}
    37 
    38 EXPORT_C void SetDll3Data(TInt aVal)
    39 	{
    40 	initialisedData=aVal;
    41 	}
    42