Commit 2e500899 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Output type_id for structs

2008-06-10  Jürg Billeter  <j@bitron.ch>

	* vala/valainterfacewriter.vala:

	Output type_id for structs

svn path=/trunk/; revision=1566
parent 1d31cd0c
2008-06-10 Jürg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala:
Output type_id for structs
2008-06-10 Jürg Billeter <j@bitron.ch>
* gobject/valaccodedynamicmethodbinding.vala:
......
......@@ -210,6 +210,10 @@ public class Vala.InterfaceWriter : CodeVisitor {
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 ()) {
......
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