Logo Search packages:      
Sourcecode: ardour version File versions

std::string Glib::strcompress ( const std::string &  source  ) 

Replaces all escaped characters with their one byte equivalent.

This function does the reverse conversion of Glib::strescape().

source A string to compress.
A copy of source with all escaped characters compressed.

Definition at line 102 of file stringutils.cc.

  const Glib::ScopedPtr<char> buf (g_strcompress(source.c_str()));
  return buf.get();

Generated by  Doxygen 1.6.0   Back to index