Re: [Vala] instance_pos
- From: Jürg Billeter <j bitron ch>
- To: Mihail Naydenov <mlists ymail com>
- Cc: vala <vala-list gnome org>
- Subject: Re: [Vala] instance_pos
- Date: Fri, 14 Nov 2008 22:58:34 +0100
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]