sbsv2/raptor/test/smoke_suite/test_resources/oe/symbian_lib.cpp
changeset 13 c327db0664bb
equal deleted inserted replaced
12:5e7562f67577 13:c327db0664bb
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * test_lib
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __SYMBIAN32__
       
    21 #define EXPORT __declspec(export)
       
    22 #else
       
    23 #define EXPORT 
       
    24 #endif
       
    25 
       
    26 EXPORT int test_oe_function_A(int arg)
       
    27 {
       
    28 	return (arg + 1);
       
    29 }
       
    30 
       
    31 int test_oe_function_B(int arg)
       
    32 {
       
    33 	return (arg + 2);
       
    34 }
       
    35 
       
    36 int test_oe_function_C(int arg)
       
    37 {
       
    38 	return (arg + 3);
       
    39 }
       
    40 
       
    41 
       
    42 int test_oe_allocator(int arg)
       
    43 {
       
    44 	int *p = new int;
       
    45 	delete p;
       
    46 
       
    47 	return 0;
       
    48 }
       
    49 
       
    50 // end
       
    51