2008-08-10 Jürg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala:
Support IntegerType and FloatingType attributes,
patch by Emmanuele Bassi, fixes bug 544522
svn path=/trunk/; revision=1745
2008-08-10 Jürg Billeter <j@bitron.ch>
+ * vala/valainterfacewriter.vala:
+
+ Support IntegerType and FloatingType attributes,
+ patch by Emmanuele Bassi, fixes bug 544522
+
+2008-08-10 Jürg Billeter <j@bitron.ch>
+
* vapi/glib-2.0.vapi:
Add GCompletion binding, patch by Abderrahim Kitouni,
write_newline ();
}
+ if (st.is_integer_type ()) {
+ write_indent ();
+ write_string ("[IntegerType (rank = %d)]".printf (st.get_rank ()));
+ write_newline ();
+ }
+
+ if (st.is_floating_type ()) {
+ write_indent ();
+ write_string ("[FloatingType (rank = %d)]".printf (st.get_rank ()));
+ write_newline ();
+ }
+
write_indent ();
write_accessibility (st);
write_string ("struct ");