Add support for creation methods with a different (mostly super) type than
authorRaffaele Sandrini <raffaele@sandrini.ch>
Wed, 9 Jul 2008 09:17:43 +0000 (09:17 +0000)
committerRaffaele Sandrini <rasa@src.gnome.org>
Wed, 9 Jul 2008 09:17:43 +0000 (09:17 +0000)
commit70cd66a60bd778c5b2fbd2c0dc748e5a2fe53e2f
tree39d059de654ee2dd4f5fee7576707632bc43b21e
parent141bea444669efd2cb9e7f2b9ad4e18ad552295c
Add support for creation methods with a different (mostly super) type than

2008-07-09  Raffaele Sandrini  <raffaele@sandrini.ch>

* gobject/valaccodegenerator.vala:
* gobject/valaccodemethodbinding.vala:
* vala/valacreationmethod.vala:
* vala/valainterfacewriter.vala:
* vapigen/valagidlparser.vala:

Add support for creation methods with a different (mostly super) type
than the type of the object it creates. Add a `type' parameter to the
CCode attribute which will be used to get the casts right for such
creation methods.

* vapi/gio-2.0.vapi:
* vapi/gtk+-2.0.vapi:

Regenerated, fixes bug 540661

svn path=/trunk/; revision=1688
ChangeLog
gobject/valaccodegenerator.vala
gobject/valaccodemethodbinding.vala
vala/valacreationmethod.vala
vala/valainterfacewriter.vala
vapi/gio-2.0.vapi
vapi/gtk+-2.0.vapi
vapigen/valagidlparser.vala