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

2009-03-05 Thread Hans Baier
2009/3/6 Michael 'Mickey' Lauer : > 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: [SimpleType] [CCode (default_value = "0")] public struct Pid { } Hans _

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

2009-03-05 Thread Michael 'Mickey' Lauer
Added the IntegerType descriptor. Can we apply the attached patch then? Cheers, -- :M: >From 64dba8143862518d7979af4dacdc4258c9cdc3a6 Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Fri, 6 Mar 2009 01:38:41 +0100 Subject: [PATCH] posix.vapi: add pid_t and kill Signed-off-by: Hans Baier --- va

[Vala] Fwd: jack binding

2009-03-05 Thread Hans Baier
-- Forwarded message -- From: Hans Baier Date: 2009/3/6 Subject: Re: [Vala] jack binding To: Alberto Colombo 2009/3/6 Hans Baier : > Here is my jack.vapi, that I use in > http://www.hans-baier.de/wordpress/jackpanel > > http://repo.or.cz/w/jackpanel.git?a=blob;f=jack.vapi;hb=HEA

Re: [Vala] jack binding

2009-03-05 Thread Hans Baier
Here is my jack.vapi, that I use in http://www.hans-baier.de/wordpress/jackpanel http://repo.or.cz/w/jackpanel.git?a=blob;f=jack.vapi;hb=HEAD Sincerely, Hans ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

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

2009-03-05 Thread Yu Feng
Curious: What does rank mean? Yu On Wed, 2009-03-04 at 14:15 +0100, Jürg Billeter wrote: > On Wed, 2009-03-04 at 13:50 +0100, pancake wrote: > > mmh, pid_t is not a struct, is an 'int', in which whay do you get > > the (int) value of this empty struct? I would rather prefer to do > > it in anothe

[Vala] Extension Methods

2009-03-05 Thread Uwe Strempel
Hi, is there any feature like extension methods from c# 3.0 in vala supported. It would be a cool feature in vala and could allow to write better code. namespace ExtensionMethods { public static class MyExtensions { public static int WordCount(this String str) {

[Vala] jack binding

2009-03-05 Thread Alberto Colombo
Hi I'm sure that someone is already working on them... just so as to minimise duplication of efforts, I attach my attempt. Transport control is missing, but the rest should be complete. Any feedback is greatly appreciated, especially regarding: - how to define a method that takes an array of 2

[Vala] Coroutines (was: [ANNOUNCE] Vala 0.5.1 - Compiler for the GObject type system)

2009-03-05 Thread Frederik
On Tue, 04 Nov 2008 00:16:33 -0800, Jürg Billeter wrote: > void foo () yields { > message ("hello"); > yield; > message ("world"); > } > > void main () { > foo.begin (); > message ("vala"); > > var loop = new MainLoop (null, false); >