equal
deleted
inserted
replaced
26 int retval =ESuccess; |
26 int retval =ESuccess; |
27 char* mycharstring = "Hello Char String"; |
27 char* mycharstring = "Hello Char String"; |
28 TBufC16<30> buf; |
28 TBufC16<30> buf; |
29 TPtr16 myTptr = buf.Des(); |
29 TPtr16 myTptr = buf.Des(); |
30 wchar_t* temp = new wchar_t[30]; |
30 wchar_t* temp = new wchar_t[30]; |
31 retval = CharpToTptr16(mycharstring,temp,myTptr); |
31 retval = CharpToTptr16(mycharstring, myTptr); |
32 |
32 |
33 if (retval ==ESuccess) |
33 if (retval ==ESuccess) |
34 { |
34 { |
35 printf("CharpToTptr16 positive Passed\n"); |
35 printf("CharpToTptr16 positive Passed\n"); |
36 } |
36 } |