Re: [Vala] instance_pos



On Fri, 2008-11-14 at 04:29 -0800, Mihail Naydenov wrote:
Hi,
I started writing a vapi for a c library and I want to use
instance_pos to set the place of the instance parameter. 
Problem is, I need it to be the *second param*, but instance_pos = 1
or instance_pos = 2 remove it altogether.
I tested it a bit end it turned out 0 > values < 1 - make it the first
param, values < 0 - make it the last, and thats about it.

Try instance_pos = 1.1 - this inserts the instance parameter after the
first parameter.

Jürg






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