equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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 "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 |
|
18 |
|
19 |
|
20 #ifndef DEBUG_H |
|
21 #define DEBUG_H |
|
22 |
|
23 //INCLUDES |
|
24 #include <f32file.h> |
|
25 #define FTRACE(a) {a;} |
|
26 |
|
27 /** |
|
28 * Declare the FPrint function |
|
29 * @since Series 60 2.7 |
|
30 * @return none |
|
31 */ |
|
32 inline void FPrint(const TRefByValue<const TDesC> aFmt, ...) |
|
33 { |
|
34 VA_LIST list; |
|
35 VA_START(list,aFmt); |
|
36 TInt tmpInt = VA_ARG(list, TInt); |
|
37 TInt tmpInt2 = VA_ARG(list, TInt); |
|
38 TInt tmpInt3 = VA_ARG(list, TInt); |
|
39 VA_END(list); |
|
40 #ifdef _DEBUG |
|
41 RDebug::Print(aFmt, tmpInt, tmpInt2, tmpInt3); |
|
42 #endif |
|
43 } |
|
44 #endif // DEBUG_H |
|
45 |
|
46 // End of File |