MarkupParseContext


Description:

public MarkupParseContext (MarkupParser parser, MarkupParseFlags _flags, void* user_data, DestroyNotify? user_data_dnotify)

Creates a new parse context.

A parse context is used to parse marked-up documents. You can feed any number of documents into a context, as long as no errors occur; once an error occurs, the parse context can't continue to parse text (you have to free it and create a new parse context).

Parameters:

parser

a MarkupParser

user_data

user data to pass to MarkupParser functions

user_data_dnotify

user data destroy notifier called when the parse context is freed

flags

one or more MarkupParseFlags

Returns:

a new MarkupParseContext