[vala/0.10-parallel: 27/32] CodeWriter: Support external symbols
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10-parallel: 27/32] CodeWriter: Support external symbols
- Date: Fri, 17 Sep 2010 23:03:16 +0000 (UTC)
commit 43f66e8fcd46276f0c123fd099dd2c98f9d09090
Author: Jürg Billeter <j bitron ch>
Date: Fri Sep 10 09:32:48 2010 +0200
CodeWriter: Support external symbols
vala/valacodewriter.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala
index aa3dc12..3b2a123 100644
--- a/vala/valacodewriter.vala
+++ b/vala/valacodewriter.vala
@@ -2004,6 +2004,10 @@ public class Vala.CodeWriter : CodeVisitor {
} else if (sym.access == SymbolAccessibility.PRIVATE) {
write_string ("private ");
}
+
+ if (sym.external && !sym.external_package) {
+ write_string ("extern ");
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]