PRUnichar * urlUnichar = wallet_url.ToNewUnicode();
PRUnichar * urlUnichar = ToNewUnicode(wallet_url);
WLLT_GetPrefillListForViewer(nsString& aPrefillList){  wallet_Initialize(PR_FALSE); /* to initialize helpMac */  wallet_PrefillElement * mapElementPtr;  nsAutoString buffer;  PRInt32 count = LIST_COUNT(wallet_list);  for (PRInt32 i=0; i<count; i++) {    mapElementPtr = NS_STATIC_CAST(wallet_PrefillElement*, wallet_list->ElementAt(i));    buffer.AppendWithConversion(BREAK);    buffer.AppendInt(mapElementPtr->count,10);    buffer.AppendWithConversion(BREAK);    buffer.Append(mapElementPtr->schema);    buffer.AppendWithConversion(BREAK);    buffer.Append(mapElementPtr->value);  }  PRUnichar * urlUnichar = wallet_url.ToNewUnicode();  buffer.AppendWithConversion(BREAK);  buffer.AppendInt(NS_PTR_TO_INT32(wallet_list));  buffer.AppendWithConversion(BREAK);  buffer += urlUnichar;  Recycle(urlUnichar);  aPrefillList = buffer;}