vala r1745 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1745 - in trunk: . vala
- Date: Sun, 10 Aug 2008 13:44:02 +0000 (UTC)
Author: juergbi
Date: Sun Aug 10 13:44:02 2008
New Revision: 1745
URL: http://svn.gnome.org/viewvc/vala?rev=1745&view=rev
Log:
2008-08-10 JÃrg Billeter <j bitron ch>
* vala/valainterfacewriter.vala:
Support IntegerType and FloatingType attributes,
patch by Emmanuele Bassi, fixes bug 544522
Modified:
trunk/ChangeLog
trunk/vala/valainterfacewriter.vala
Modified: trunk/vala/valainterfacewriter.vala
==============================================================================
--- trunk/vala/valainterfacewriter.vala (original)
+++ trunk/vala/valainterfacewriter.vala Sun Aug 10 13:44:02 2008
@@ -243,6 +243,18 @@
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 ");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]