[vala/switch-to-gir] gidlparser: Allow setting type_cname of interfaces
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/switch-to-gir] gidlparser: Allow setting type_cname of interfaces
- Date: Fri, 11 Mar 2011 10:36:16 +0000 (UTC)
commit 772e3b944e6c692121ddad376791ce0ebb16a938
Author: Luca Bruno <lucabru src gnome org>
Date: Fri Mar 11 11:36:03 2011 +0100
gidlparser: Allow setting type_cname of interfaces
vapigen/valagidlparser.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala
index b188330..b629aae 100644
--- a/vapigen/valagidlparser.vala
+++ b/vapigen/valagidlparser.vala
@@ -1460,6 +1460,8 @@ public class Vala.GIdlParser : CodeVisitor {
iface.add_cheader_filename (eval (nv[1]));
} else if (nv[0] == "lower_case_csuffix") {
iface.set_lower_case_csuffix (eval (nv[1]));
+ } else if (nv[0] == "type_cname") {
+ iface.set_type_cname (eval (nv[1]));
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]