Re: Upcoming GLib changes
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list redhat com
- Cc: timj gtk org
- Subject: Re: Upcoming GLib changes
- Date: 30 Jun 1999 16:50:51 -0400
"Sergio A. Kessler" <ser@perio.unlp.edu.ar> writes:
> Tim Janik <timj@gtk.org> el día Wed, 30 Jun 1999 18:25:52 +0200 (CEST),
> escribió:
>
> >sorry trog, i don't even get the convenience point in
> >g_string_str (foo)
> >vs.
> >foor->str
>
> Hmmm, have you thinked in binding languajes ?
> I mean, if foo->str is the option, then languaje bindings must
> translate the struct too... or I'm wrong ?
Well, back to this issue ;-)
IMO:
1) Language bindings almost certainly should not wrap
GString. Languages other than C will have their own
string abstractions. GStrings are not used anywhere
in the GDK/GTK+ api - they are a convenience functionality
for applications.
2) If a lanuage binding needs an accessor for foo->str,
then they can provide one.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]