[vala/wip/dbusgen: 32/40] added support for Handle types
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/dbusgen: 32/40] added support for Handle types
- Date: Wed, 19 Sep 2018 13:33:37 +0000 (UTC)
commit 296fa32ebaa0e6920dfe756244af52eedbbffa92
Author: Chris Daley <chebizarro gmail com>
Date: Fri Nov 24 10:45:23 2017 -0800
added support for Handle types
dbusgen/valadbusvariantmodule.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/dbusgen/valadbusvariantmodule.vala b/dbusgen/valadbusvariantmodule.vala
index 48dd2882e..30a0cd2c5 100644
--- a/dbusgen/valadbusvariantmodule.vala
+++ b/dbusgen/valadbusvariantmodule.vala
@@ -151,6 +151,8 @@ public class Vala.DBusVariantModule {
return vardict_type.copy ();
} else if (type.equal (VariantType.VARIANT) || type.equal (VariantType.ANY) || type.equal
(VariantType.BASIC) || type.equal (VariantType.MAYBE) || type.equal (VariantType.TUPLE)) {
return new ObjectType ((ObjectTypeSymbol) gvariant_type);
+ } else if (type.equal (VariantType.HANDLE)) {
+ return int32_type.copy ();
}
Report.warning (null, "Unresolved type: %s".printf ((string) type.peek_string ()));
@@ -166,8 +168,6 @@ public class Vala.DBusVariantModule {
return string_type.copy ();
} else if (type.equal (VariantType.DICTIONARY)) {
return new ObjectType ((ObjectTypeSymbol) ghashtable_type);
- } else if (type.equal (VariantType.HANDLE)) {
- return string_type.copy ();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]