vala r1566 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1566 - in trunk: . vala
- Date: Tue, 10 Jun 2008 14:25:23 +0000 (UTC)
Author: juergbi
Date: Tue Jun 10 14:25:22 2008
New Revision: 1566
URL: http://svn.gnome.org/viewvc/vala?rev=1566&view=rev
Log:
2008-06-10 JÃrg Billeter <j bitron ch>
* vala/valainterfacewriter.vala:
Output type_id for structs
Modified:
trunk/ChangeLog
trunk/vala/valainterfacewriter.vala
Modified: trunk/vala/valainterfacewriter.vala
==============================================================================
--- trunk/vala/valainterfacewriter.vala (original)
+++ trunk/vala/valainterfacewriter.vala Tue Jun 10 14:25:22 2008
@@ -210,6 +210,10 @@
write_string ("cname = \"%s\", ".printf (st.get_cname ()));
}
+ if (!st.is_simple_type () && st.get_type_id () != "G_TYPE_POINTER") {
+ write_string ("type_id = \"%s\", ".printf (st.get_type_id ()));
+ }
+
var first = true;
string cheaders;
foreach (string cheader in st.get_cheader_filenames ()) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]