Re: Closure shadowing

"Gustavo J. A. M. Carneiro" <[email protected]> Fri, 29 Apr 2005 17:29:06 +0100
Newsgroups gmane.comp.gnome.gtk+.devel.general,gmane.comp.gnome.language-bindings
Organization INESC Porto
Message-ID <1114792146.21157.41.camel@localhost>
On Fri, 2005-04-29 at 11:18 -0400, Owen Taylor wrote:
[...]
> > Anyway, good to see language bindings given high priority for a
> > change.  Keep up the good work :-)
> 
> I'm not sure I like that "for a change" :-). Language bindability has
> been a big focus of GTK+ since before 1.0.

  Sorry, you're right.  There's more of a problem in non-gtk+ libraries,
where we see lots of signals with pointer args, callbacks but no
closures, etc.

  Still, even in gtk+, even new APIs sometimes are added which place
additional problems on language bindings.  In particular, int*
parameters are truly problematic, as they contain no in/out/inout
semantic information attached.  For example, see
GtkCellRendererClass.get_size.  I hope the new introspection API will
solve this issue finally, since it is clear that external libraries will
never help support language bindings.

  Regards.

-- 
Gustavo J. A. M. Carneiro
<[email protected]> <[email protected]>
The universe is always one step beyond logic.

_______________________________________________
gtk-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
smime.p7s (application/x-pkcs7-signature, 3 KB) - not displayed