[vala/parallel] write constants to fast vapi output
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/parallel] write constants to fast vapi output
- Date: Sun, 22 Aug 2010 19:09:03 +0000 (UTC)
commit 824b2f2b7a5b128b64a0f6a5759f981627ce54ce
Author: Ryan Lortie <desrt desrt ca>
Date: Sun Aug 22 14:23:54 2010 -0400
write constants to fast vapi output
vala/valacodewriter.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala
index 7760489..ad271f2 100644
--- a/vala/valacodewriter.vala
+++ b/vala/valacodewriter.vala
@@ -664,6 +664,10 @@ public class Vala.CodeWriter : CodeVisitor {
write_string (" ");
write_identifier (c.name);
+ if (type == CodeWriterType.FAST && c.value != null) {
+ write_string(" = ");
+ c.value.accept (this);
+ }
write_string (";");
write_newline ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]