GNOME Bugzilla – Bug 609591
code writer ignores the instance_pos attribute
Last modified: 2010-02-12 19:57:24 UTC
Created attachment 153484 [details] [review] Put the instance_post attribute on delegates in the code writer When having a custom vapi file specifying delegates with the instance_pos attribute, the code writer ignores this attribute. Example: grilo-0.1-custom.vala contains: [CCode (instance_pos = 2.1)] public delegate void MediaSourceMetadataCb (Grl.MediaSource source, Grl.ContentMedia? media, GLib.Error error); And the output grilo-0.1.vapi contains: [CCode (cheader_filename = "grilo.h")] public delegate void MediaSourceMetadataCb (Grl.MediaSource source, Grl.ContentMedia? media, GLib.Error error); I'm adding a proposal patch.
fixed on master: commit e8338e02d8c2366cd2b71aff8bae0daec92af0e9 Author: Víctor Manuel Jáquez Leal <vjaquez@igalia.com> Date: Wed Feb 10 23:22:05 2010 +0100 Put the instance_pos attribute in delegates in code writer Fixes bug 609591.