author | Richard Taylor <richard.i.taylor@nokia.com> |
Wed, 14 Jul 2010 14:50:01 +0100 | |
changeset 616 | 24e4ef208cca |
parent 591 | 22486c9c7b15 |
permissions | -rw-r--r-- |
591 | 1 |
/* |
616
24e4ef208cca
sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
2 |
* Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
591 | 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 |
* |
|
16 |
*/ |
|
17 |
||
616
24e4ef208cca
sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
18 |
#ifndef __SYMBIAN_STDCPP_SUPPORT__ |
24e4ef208cca
sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
19 |
#error __SYMBIAN_STDCPP_SUPPORT__ should be defined for all STD* TARGETTYPE builds |
24e4ef208cca
sbs version 2.14.2
Richard Taylor <richard.i.taylor@nokia.com>
parents:
591
diff
changeset
|
20 |
#endif |
591 | 21 |
|
22 |
#ifndef __SYMBIAN32__ |
|
23 |
#define EXPORT __declspec(export) |
|
24 |
#else |
|
25 |
#define EXPORT |
|
26 |
#endif |
|
27 |
||
28 |
EXPORT int test_oe_function_A(int arg) |
|
29 |
{ |
|
30 |
return (arg + 1); |
|
31 |
} |
|
32 |
||
33 |
int test_oe_function_B(int arg) |
|
34 |
{ |
|
35 |
return (arg + 2); |
|
36 |
} |
|
37 |
||
38 |
int test_oe_function_C(int arg) |
|
39 |
{ |
|
40 |
return (arg + 3); |
|
41 |
} |
|
42 |
||
43 |
||
44 |
int test_oe_allocator(int arg) |
|
45 |
{ |
|
46 |
int *p = new int; |
|
47 |
delete p; |
|
48 |
||
49 |
return 0; |
|
50 |
} |
|
51 |
||
52 |
// end |
|
53 |