mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +01:00
scanner: parse and expose function macros
This is useful for documentation tools, and other utilities that rely on full introspection of the C API of a given library.
This commit is contained in:
parent
a458c66cbf
commit
995d87db17
@ -2845,7 +2845,12 @@ start_element_handler (GMarkupParseContext *context,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'f':
|
case 'f':
|
||||||
if (start_function (context, element_name,
|
if (strcmp ("function-macro", element_name) == 0)
|
||||||
|
{
|
||||||
|
state_switch (ctx, STATE_PASSTHROUGH);
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
else if (start_function (context, element_name,
|
||||||
attribute_names, attribute_values,
|
attribute_names, attribute_values,
|
||||||
ctx, error))
|
ctx, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
Reference in New Issue
Block a user