Re: Let's not use ... args
- From: Sean Middleditch <sean middleditch iname com>
- To: Murray Cumming <murrayc usa net>
- Cc: gnome-devel-list gnome org
- Subject: Re: Let's not use ... args
- Date: Tue, 30 Jan 2001 09:28:03 -0500
Would it be possible to have two sets of functions? One that takes the ...
for C programmers, and another that takes an array? The ... version could
even wrap the array version. I know there is the va_args struct that may
be used, but I believe it's highly system specific, and it'd either not be
portable, or might be just a pain in the arse to deal with on multiple
systems properly.
On 2001.01.30 09:17:11 -0500 Murray Cumming wrote:
>
> I've noticed that GnomeMessageBox and the GnomeCanvas items use ...
> arguments.
> Not only does this make for an unclear and un-typed API, it is also
> impossible
> to wrap properly in some language bindings, because it is not possible to
> build the variable argument structure dynamically.
>
> Murray Cumming
> murrayc usa net
> www.murrayc.com
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
>
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
>
--
Sean Middleditch
of
AwesomePlay Productions, Inc.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]