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

ustring::size_type Glib::ustring::size (  )  const

Returns the number of characters in the string, not including any null-termination.

Returns:
The number of UTF-8 characters.
See also:
bytes(), empty()

Definition at line 1021 of file ustring.cc.

{
  const char *const pdata = string_.data();
  return g_utf8_pointer_to_offset(pdata, pdata + string_.size());
}


Generated by  Doxygen 1.6.0   Back to index