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



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 and process-id's.

The IntegerType attribute should help us here:

    [IntegerType (rank = 6)]

Jürg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]