[vala] vapigen: Interfaces should be marked as external by default.
- From: Alberto Ruiz <aruiz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] vapigen: Interfaces should be marked as external by default.
- Date: Tue, 18 Aug 2009 13:20:01 +0000 (UTC)
commit d10fd71b705ebbfc35560f878782ac089d69ccde
Author: Alberto Ruiz <aruiz codethink co uk>
Date: Tue Aug 18 14:17:32 2009 +0100
vapigen: Interfaces should be marked as external by default.
vapigen/valagirparser.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vapigen/valagirparser.vala b/vapigen/valagirparser.vala
index ea4388f..3a60e46 100644
--- a/vapigen/valagirparser.vala
+++ b/vapigen/valagirparser.vala
@@ -666,6 +666,7 @@ public class Vala.GirParser : CodeVisitor {
start_element ("interface");
var iface = new Interface (reader.get_attribute ("name"), get_current_src ());
iface.access = SymbolAccessibility.PUBLIC;
+ iface.external = true;
string cname = reader.get_attribute ("c:type");
if (cname != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]