equal
deleted
inserted
replaced
17 #include <stdio.h> |
17 #include <stdio.h> |
18 #include<e32std.h> |
18 #include<e32std.h> |
19 #include "libutils.h" |
19 #include "libutils.h" |
20 #include"std_log_result.h" |
20 #include"std_log_result.h" |
21 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
21 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
22 void main() |
22 int main() |
23 { |
23 { |
24 __UHEAP_MARK; |
24 __UHEAP_MARK; |
25 TBufC<20> buf _L("testing"); |
25 TBufC<20> buf _L("testing"); |
26 TPtrC16 src = buf.Des(); |
26 TPtrC16 src = buf.Des(); |
27 char * des= new char [20]; |
27 char * des= new char [20]; |
45 } |
45 } |
46 delete[] des; |
46 delete[] des; |
47 des = NULL; |
47 des = NULL; |
48 __UHEAP_MARKEND; |
48 __UHEAP_MARKEND; |
49 testResultXml("test_tptrc16tocharp_positive"); |
49 testResultXml("test_tptrc16tocharp_positive"); |
|
50 |
|
51 return 0; |
|
52 |
50 } |
53 } |