Method

GLibMarkupParseContextget_user_data

Declaration

gpointer
g_markup_parse_context_get_user_data (
  GMarkupParseContext* context
)

Description

Returns the user_data associated with context.

This will either be the user_data that was provided to g_markup_parse_context_new() or to the most recent call of g_markup_parse_context_push().

Available since:2.18

Return value

Returns: gpointer
 

The provided user_data. The returned data belongs to the markup context and will be freed when g_markup_parse_context_free() is called.