Re: [Vala] Extension Methods

2009-03-07 Thread Sam Danielson
2009/3/6 Uwe Strempel u.strem...@googlemail.com: Hi, yes you are right. C# 3.0 syntac for inner-type declaration is not the best. This syntax:        public int string.count_words() {                return this.split_set( .?).length;        } might be better. Thanks, regards Uwe That

Re: [Vala] Added kill and pid_t to posix.vapi

2009-03-07 Thread Jürg Billeter
On Thu, 2009-03-05 at 17:17 -0500, Yu Feng wrote: Curious: What does rank mean? The compiler uses the rank of integer types to determine what implicit casts should be allowed. The larger the range on common platforms, the higher the rank in the bindings. Jürg

Re: [Vala] Added kill and pid_t to posix.vapi

2009-03-07 Thread Jürg Billeter
On Fri, 2009-03-06 at 10:06 +0700, Hans Baier wrote: 2009/3/6 Michael 'Mickey' Lauer mic...@vanille-media.de: Added the IntegerType descriptor. Can we apply the attached patch then? Maybe you could consider altering glib.vapi too, because there, Pid is defined as: GPid is a pointer, not

Re: [Vala] Added kill and pid_t to posix.vapi

2009-03-07 Thread alpha alpha
Hi everyone Could anyone please code a little example regarding GSL shaders integration in VALA ? In the clutter 8.0.8 (the c version) there is a shader example (test_shader.c and test_shader.sh) which works fine but unfortunately this example wasn't included in the smaller list of VALA

Re: [Vala] Vala/DBus with dict object

2009-03-07 Thread Jürg Billeter
On Thu, 2009-02-19 at 10:49 -0300, Marcelo Boveto Shima wrote: But no luck yet. Now it is segfaulting at OpenSessionWithParameters call. I am using vala 0.5.6. am I missing something else? The dynamic D-Bus client support still uses dbus-glib based marshalling, which doesn't support arrays of