utilitylibraries/libutils/tsrc/src/integration_test_scenario16.cpp
changeset 34 5fae379060a7
parent 31 ce057bb09d0b
child 45 4b03adbd26ca
equal deleted inserted replaced
31:ce057bb09d0b 34:5fae379060a7
    25     __UHEAP_MARK;
    25     __UHEAP_MARK;
    26     {
    26     {
    27     int retval[10];
    27     int retval[10];
    28     wchar_t* mycharstring = L"hellohello";
    28     wchar_t* mycharstring = L"hellohello";
    29     RBuf16 buf;
    29     RBuf16 buf;
       
    30     buf.CreateL(30);
    30     retval[0]= WcharToRbuf16(mycharstring,buf);
    31     retval[0]= WcharToRbuf16(mycharstring,buf);
    31     printf("The first value in retval array is %d\n", retval[0]);
    32     printf("The first value in retval array is %d\n", retval[0]);
    32 
    33 
    33     wstring str;
    34     wstring str;
    34     retval[1]= Rbuf16ToWstring(buf,str);
    35     retval[1]= Rbuf16ToWstring(buf,str);