gobject-introspection r453 - trunk/tools
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r453 - trunk/tools
- Date: Fri, 22 Aug 2008 19:09:12 +0000 (UTC)
Author: walters
Date: Fri Aug 22 19:09:11 2008
New Revision: 453
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=453&view=rev
Log:
Don't put * in types, suppress transfer="none"
Modified:
trunk/tools/generate.c
Modified: trunk/tools/generate.c
==============================================================================
--- trunk/tools/generate.c (original)
+++ trunk/tools/generate.c Fri Aug 22 19:09:11 2008
@@ -78,9 +78,7 @@
tag = g_type_info_get_tag (info);
- if (tag < 18)
- g_fprintf (file, "%s%s", basic[tag], g_type_info_is_pointer (info) ? "*" : "");
- else if (tag < 20)
+ if (tag < 20)
g_fprintf (file, "%s", basic[tag]);
else if (tag == 20)
{
@@ -105,8 +103,6 @@
{
GIBaseInfo *iface = g_type_info_get_interface (info);
write_type_name (namespace, iface, file);
- if (g_type_info_is_pointer (info))
- g_fprintf (file, "*");
g_base_info_unref (iface);
}
else if (tag == 22)
@@ -120,7 +116,6 @@
g_fprintf (file, ">");
g_base_info_unref ((GIBaseInfo *)type);
}
- g_fprintf (file, "*");
}
else if (tag == 23)
{
@@ -133,7 +128,6 @@
g_fprintf (file, ">");
g_base_info_unref ((GIBaseInfo *)type);
}
- g_fprintf (file, "*");
}
else if (tag == 24)
{
@@ -150,7 +144,6 @@
g_fprintf (file, ">");
g_base_info_unref ((GIBaseInfo *)type);
}
- g_fprintf (file, "*");
}
else if (tag == 25)
{
@@ -171,7 +164,6 @@
}
g_fprintf (file, ">");
}
- g_fprintf (file, "*");
}
}
@@ -249,7 +241,6 @@
switch (g_callable_info_get_caller_owns (info))
{
case GI_TRANSFER_NOTHING:
- g_fprintf (file, " transfer=\"none\"");
break;
case GI_TRANSFER_CONTAINER:
g_fprintf (file, " transfer=\"shallow\"");
@@ -293,7 +284,6 @@
switch (g_arg_info_get_ownership_transfer (arg))
{
case GI_TRANSFER_NOTHING:
- g_fprintf (file, " transfer=\"none\"");
break;
case GI_TRANSFER_CONTAINER:
g_fprintf (file, " transfer=\"shallow\"");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]