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
are not included in the Gl.vapi. So I guess only Clutter offers GLSL bindings for VALA coders at the moment. Cheers Godwin From: j...@bitron.ch To: hansfba...@googlemail.com Date: Sat, 7 Mar 2009 22:30:58 +0100 CC: Vala-list@gnome.org Subject: Re: [Vala] Added kill and pid_t to posix.vapi On Fri, 2009

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 another way

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 hansfba...@googlemail.com Date: Fri, 6 Mar 2009 01:38:41 +0100 Subject: [PATCH] posix.vapi: add pid_t and kill

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

2009-03-05 Thread Hans Baier
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

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

2009-03-04 Thread Michael 'Mickey' Lauer
Am Mittwoch, den 04.03.2009, 09:14 +0100 schrieb pancake: Where's the SIGXXX enum? and signal()? Already in the bindings. -- :M: ___ 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-04 Thread Michael 'Mickey' Lauer
Hans Baier: Another try (attached). Works for me here. ACK. Looks good to me. Regards, -- :M: From ea2b5b8f79fe15f862d556afffab55864a1507aa Mon Sep 17 00:00:00 2001 From: Hans Baier hansfba...@googlemail.com Date: Wed, 4 Mar 2009 06:17:53 +0700 Subject: [PATCH] posix.vapi: Added kill and pid_t

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

2009-03-04 Thread pancake
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 to allow vala use the 'int' nature of the pid_t type for conversions between numbers, strings and process-id's. Michael 'Mickey' Lauer wrote:

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

2009-03-04 Thread Michael 'Mickey' Lauer
Am Mittwoch, den 04.03.2009, 13:50 +0100 schrieb pancake: 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 to allow vala use the 'int' nature of the pid_t type for conversions between numbers,

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

2009-03-04 Thread Jürg Billeter
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 to allow vala use the 'int' nature of the pid_t type for conversions between numbers, strings

[Vala] Added kill and pid_t to posix.vapi

2009-03-03 Thread Hans Baier
Now it doesnt depend on GLib anymore From b68a32b73a1aecefd25809777b8e5a948c0e3c9a Mon Sep 17 00:00:00 2001 From: Hans Baier hansfba...@googlemail.com Date: Wed, 4 Mar 2009 06:17:53 +0700 Subject: [PATCH] posix.vapi: Added kill and pid_t --- vapi/posix.vapi |7 +++ 1 files changed, 7