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

void Glib::Markup::ParseContext::parse ( const char *  text_begin,
const char *  text_end 

Feed some data to the ParseContext. The data need not be valid UTF-8; an error will be signalled if it's invalid. The data need not be an entire document; you can feed a document into the parser incrementally, via multiple calls to this function. Typically, as you receive data from a network connection or file, you feed each received chunk of data into this function, aborting the process if an error occurs. Once an error is reported, no further data may be fed to the ParseContext; all errors are fatal.

text_begin Begin of chunk of text to parse.
text_end End of chunk of text to parse.

Definition at line 273 of file markup.cc.

  GError* error = 0;
  g_markup_parse_context_parse(gobject_, text_begin, text_end - text_begin, &error);


Generated by  Doxygen 1.6.0   Back to index