kerneltest/e32test/dll/t_tlsdll.cpp
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 2005-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_tlsdll.cpp
       
    15 // 
       
    16 //
       
    17 
       
    18 #include <e32std.h>
       
    19 #include <e32std_private.h>
       
    20 
       
    21 extern "C" {
       
    22 EXPORT_C TInt SetTls(TAny* aValue)
       
    23 	{
       
    24 	return Dll::SetTls(aValue);
       
    25 	}
       
    26 
       
    27 EXPORT_C TAny* Tls()
       
    28 	{
       
    29 	return Dll::Tls();
       
    30 	}
       
    31 
       
    32 EXPORT_C void FreeTls()
       
    33 	{
       
    34 	Dll::FreeTls();
       
    35 	}
       
    36 }