Re: Easing language bindings (was Re: GtkPlot widget)

On Sat, 27 Nov 1999, ERDI Gergo wrote:
> I think a more clean solution would be to use IDLs instead of native C

Which has Zero Concrete Benefits, makes the job of writing the language
binding generator 10 times harder, and probably won't get supported by the
GTK maintainers. Not a good idea if you want to actually get a working
tool in a reasonable timeframe.

C used consistently (as it almost always is in GTK) can work just fine as
an IDL. You probably need to maintain some special exception lists
(int/bool confusion, const gchar* vs. gchar* confusion, which struct
members to make public) but that should not be hard (and some such as
gint/gboolean can be fixed in the GTK sources themselves).


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