mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 13:23:07 +02:00
girparser: Serialize and read back the instance_parameter
g-ir-doc-tool wants to use the instance parameter to read docs and the parameter name, so it needs to be shuttled through the GIR. https://bugzilla.gnome.org/show_bug.cgi?id=693040
This commit is contained in:
parent
06dfbc7dcb
commit
ee4ee72ac3
@ -2831,6 +2831,11 @@ start_element_handler (GMarkupParseContext *context,
|
|||||||
attribute_names, attribute_values,
|
attribute_names, attribute_values,
|
||||||
ctx, error))
|
ctx, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
else if (strcmp (element_name, "instance-parameter") == 0)
|
||||||
|
{
|
||||||
|
state_switch (ctx, STATE_PASSTHROUGH);
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
else if (strcmp (element_name, "c:include") == 0)
|
else if (strcmp (element_name, "c:include") == 0)
|
||||||
{
|
{
|
||||||
state_switch (ctx, STATE_C_INCLUDE);
|
state_switch (ctx, STATE_C_INCLUDE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user