Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PString::PString ( const WORD *  ustr  ) 

Create a string from the UCS-2 string array. A new memory block is allocated of a size sufficient to take the length of the string and its terminating '' character.

ustr  UCS-2 null terminated string.

Definition at line 1252 of file contain.cxx.

References SetSize().

  if (ustr == NULL)
  else {
    PINDEX len = 0;
    while (ustr[len] != 0)
    InternalFromUCS2(ustr, len);

Generated by  Doxygen 1.6.0   Back to index