Commit cbefc0ab authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

write CCode.cname attribute for methods use CCode.cname attribute

2006-11-02  Jürg Billeter  <j@bitron.ch>

	* vala/valainterfacewriter.vala: write CCode.cname attribute for methods
	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
	  use CCode.cname attribute

svn path=/trunk/; revision=164
parent 2ffe7dad
2006-11-02 Jürg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: write CCode.cname attribute for methods
* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
use CCode.cname attribute
2006-11-02 Raffaele Sandrini <rasa@gmx.ch>
* vala/valacodegenerator.vala: fix memory leak caused when container
......
......@@ -369,6 +369,8 @@ public class Vala.InterfaceWriter : CodeVisitor {
write_indent ();
write_string ("[InstanceByReference ()]");
}
write_indent ();
write_string ("[CCode (cname = \"%s\")]".printf (m.get_cname ()));
write_indent ();
write_string ("public");
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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