[Vala] GIR output patch



Hi,

After a brief discussion with juergbi today on IRC (whilst trying to
get java-gobject-introspection running over libvala to work with
Valable), I've made the following patch to 0.4.0.

It fixes gobject/valagirwriter.vala to include the, now mandatory,
``transfer-ownership'' attribute in the appropriate places.

juergbi was right, however, since the current version of Vala isn't
using GObjects; the resulting .gir files still won't work with
g-ir-compile: the root object isn't GObject, so valagirwriter outputs
<record>s rather than <class>es - which then cause problems with
methods & properties.

This patch is, therefore, slightly academic.

Cheers,

Andrew

-- 
Andrew Flegg -- mailto:andrew bleb org  |  http://www.bleb.org/
maemo.org Community Council member

Attachment: vala-0.4.0-girwriter.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]