mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02:00
gmarkup: Make GMarkupParseContext a boxed type
At the same time, add a refcount and public ref/unref methods. This makes it usable from introspectable. https://bugzilla.gnome.org/show_bug.cgi?id=690084
This commit is contained in:
committed by
Matthias Clasen
parent
157f80c244
commit
5e62827efd
@@ -182,6 +182,10 @@ GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser,
|
||||
GMarkupParseFlags flags,
|
||||
gpointer user_data,
|
||||
GDestroyNotify user_data_dnotify);
|
||||
GLIB_AVAILABLE_IN_2_36
|
||||
GMarkupParseContext *g_markup_parse_context_ref (GMarkupParseContext *context);
|
||||
GLIB_AVAILABLE_IN_2_36
|
||||
void g_markup_parse_context_unref (GMarkupParseContext *context);
|
||||
void g_markup_parse_context_free (GMarkupParseContext *context);
|
||||
gboolean g_markup_parse_context_parse (GMarkupParseContext *context,
|
||||
const gchar *text,
|
||||
|
Reference in New Issue
Block a user