Re: [Vala] Ellipsis syntax (Was: Ellipsis as an argument..)

2009-02-26 Thread Shawn Ferris
On Tue, 2009-02-24 at 22:43 +0100, Didier Ptitjes wrote: Hello Shawn! Hello.. pleased to meet you! public static void foo(params string[] args) { // ... } So if your arguments can be subclasses of GObject, you could use params Object[] args. You know.. that's what I thought

Re: [Vala] Ellipsis syntax (Was: Ellipsis as an argument..)

2009-02-26 Thread Yu Feng
Hi, On Tue, 2009-02-24 at 22:43 +0100, Didier Ptitjes wrote: I asked the same to Jürg on the channel, and it appears there is only for now a syntax for typed ellipsis. The following is an example of the syntax : public static void foo(params string[] args) { // ... } So