Commit 1bbcb7e0 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Fix support for static and class fields in interface writer, based on

2008-07-17  Jürg Billeter  <j@bitron.ch>

	* vala/valainterfacewriter.vala:

	Fix support for static and class fields in interface writer,
	based on patch by Daniel Lucraft, fixes bug 542879

svn path=/trunk/; revision=1700
parent 9e981fde
2008-07-17 Jürg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala:
Fix support for static and class fields in interface writer,
based on patch by Daniel Lucraft, fixes bug 542879
2008-07-13 Jürg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/:
......
......@@ -10,6 +10,7 @@ Carl-Anton Ingmarsson
Cayle Graumann
Christian Meyer
Cyril Soldani
Daniel Lucraft
Daniel Silverstone
Daniel Svensson
David Keijser
......
......@@ -563,6 +563,12 @@ public class Vala.InterfaceWriter : CodeVisitor {
write_indent ();
write_accessibility (f);
if (f.binding == MemberBinding.STATIC) {
write_string ("static ");
} else if (f.binding == MemberBinding.CLASS) {
write_string ("class ");
}
if (is_weak (f.field_type)) {
write_string ("weak ");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment