gobject-introspection r690 - in trunk: . girepository
- From: tko svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r690 - in trunk: . girepository
- Date: Sun, 12 Oct 2008 21:07:33 +0000 (UTC)
Author: tko
Date: Sun Oct 12 21:07:33 2008
New Revision: 690
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=690&view=rev
Log:
2008-10-12 Tommi Komulainen <tommi komulainen iki fi>
* girepository/girparser.c (start_return_value): handle
"transfer-ownership" attribute
Modified:
trunk/ChangeLog
trunk/girepository/girparser.c
Modified: trunk/girepository/girparser.c
==============================================================================
--- trunk/girepository/girparser.c (original)
+++ trunk/girepository/girparser.c Sun Oct 12 21:07:33 2008
@@ -1664,6 +1664,7 @@
ctx->state == STATE_FUNCTION)
{
GIrNodeParam *param;
+ const gchar *transfer;
param = (GIrNodeParam *)g_ir_node_new (G_IR_NODE_PARAM);
param->in = FALSE;
@@ -1674,6 +1675,9 @@
state_switch (ctx, STATE_FUNCTION_RETURN);
+ transfer = find_attribute ("transfer-ownership", attribute_names, attribute_values);
+ parse_param_transfer (param, transfer);
+
switch (ctx->current_node->type)
{
case G_IR_NODE_FUNCTION:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]