Logo Search packages:      
Sourcecode: osb-jscore version File versions  Download package

KJS::UString::UString ( const UChar c,
int  length 

Constructs a string from an array of Unicode characters of the specified length.

Definition at line 398 of file ustring.cpp.

  if (length == 0) {
  UChar *d = static_cast<UChar *>(malloc(sizeof(UChar) *length));
  memcpy(d, c, length * sizeof(UChar));
  rep = Rep::create(d, length);

Generated by  Doxygen 1.6.0   Back to index