mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
Pass through recursive types. Avoid overwriting errors. Always write the
2008-08-22 Colin Walters <walters@verbum.org> * girepository/girparser.c: Pass through recursive types. Avoid overwriting errors. * giscanner/xmlwriter.py: Always write the XML header. * tests/*.gir: Adjust. * tests/scanner/Makefile.am: Build typelibs, and generate XML from those. Once we have a good diff mechanism... * tests/scanner/*-expected.gir: Add XML header. * tools/g-ir-scanner: Accept --typelib-xml option. * tools/generate.c: Better defaults for transfer. svn path=/trunk/; revision=457
This commit is contained in:
parent
ab1e9433db
commit
cf73901c6b
@ -279,8 +279,6 @@ write_callable_info (const gchar *namespace,
|
|||||||
g_fprintf (file, "%*s <parameter name=\"%s\"",
|
g_fprintf (file, "%*s <parameter name=\"%s\"",
|
||||||
indent, "", g_base_info_get_name ((GIBaseInfo *) arg));
|
indent, "", g_base_info_get_name ((GIBaseInfo *) arg));
|
||||||
|
|
||||||
if (g_type_info_is_pointer (type))
|
|
||||||
{
|
|
||||||
switch (g_arg_info_get_ownership_transfer (arg))
|
switch (g_arg_info_get_ownership_transfer (arg))
|
||||||
{
|
{
|
||||||
case GI_TRANSFER_NOTHING:
|
case GI_TRANSFER_NOTHING:
|
||||||
@ -294,7 +292,6 @@ write_callable_info (const gchar *namespace,
|
|||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
g_fprintf (file, " direction=\"");
|
g_fprintf (file, " direction=\"");
|
||||||
switch (g_arg_info_get_direction (arg))
|
switch (g_arg_info_get_direction (arg))
|
||||||
|
Loading…
Reference in New Issue
Block a user