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);
loop.run ();
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
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)
{
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 another way
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
-- Forwarded message --
From: Hans Baier hansfba...@googlemail.com
Date: 2009/3/6
Subject: Re: [Vala] jack binding
To: Alberto Colombo a.colo...@kingston.ac.uk
2009/3/6 Hans Baier hansfba...@googlemail.com:
Here is my jack.vapi, that I use in
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 hansfba...@googlemail.com
Date: Fri, 6 Mar 2009 01:38:41 +0100
Subject: [PATCH] posix.vapi: add pid_t and kill
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:
[SimpleType]
[CCode (default_value = 0)]
public struct Pid