vala r2409 - in trunk: . vapigen
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2409 - in trunk: . vapigen
- Date: Thu, 29 Jan 2009 19:47:49 +0000 (UTC)
Author: juergbi
Date: Thu Jan 29 19:47:48 2009
New Revision: 2409
URL: http://svn.gnome.org/viewvc/vala?rev=2409&view=rev
Log:
2009-01-29 JÃrg Billeter <j bitron ch>
* vapigen/valagidlparser.vala:
Support transfer_ownership attribute for signal parameters
Modified:
trunk/ChangeLog
trunk/vapigen/valagidlparser.vala
Modified: trunk/vapigen/valagidlparser.vala
==============================================================================
--- trunk/vapigen/valagidlparser.vala (original)
+++ trunk/vapigen/valagidlparser.vala Thu Jan 29 19:47:48 2009
@@ -1936,6 +1936,10 @@
if (eval (nv[1]) == "1") {
param_type.nullable = true;
}
+ } else if (nv[0] == "transfer_ownership") {
+ if (eval (nv[1]) == "1") {
+ param_type.value_owned = true;
+ }
} else if (nv[0] == "type_name") {
((UnresolvedType) param_type).unresolved_symbol = new UnresolvedSymbol (null, eval (nv[1]));
} else if (nv[0] == "namespace_name") {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]