utilitylibraries/libutils/tsrc/src/test_charptotptr16_positive2.cpp
changeset 34 5fae379060a7
parent 31 ce057bb09d0b
child 45 4b03adbd26ca
equal deleted inserted replaced
31:ce057bb09d0b 34:5fae379060a7
    26     int retval =ESuccess;
    26     int retval =ESuccess;
    27     char* mycharstring = "";
    27     char* mycharstring = "";
    28     TBufC16<1> buf;
    28     TBufC16<1> 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     }