On Sat, 2009-12-05 at 21:10 +0100, Michael 'Mickey' Lauer wrote:
> How can we fix the MarkupParser binding?
> 
> Apart from the anonymous callbacks, which needs fixing upstream, it
> still doesn't quite work, as the delegates complain about their missing
> target. How can we fix that?

The MarkupParser binding should be usable, IIRC, although possibly not
in the most convenient way and it's easy to get it wrong in a way that
valac can't detect. If you have an issue that goes beyond convenience
and error detection, please paste a test case and I'll take a look.

> Btw., how does delegate_target_pos relate
> to instance_pos and when are we supposed to use has_target = false?

delegate_target_pos applies to return values and parameters that return
or accept delegates, resp.

instance_pos applies to method and delegate declarations to specify the
position of self and user_data, resp.

has_target = false should only be used if the delegate does not have
anything like gpointer user_data in the C declaration.

Jürg

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to