[Vala] Getters and setters in vapi files

2013-07-22 Thread Alejandro T. Colombini
Hi, I've written a C library and used vapigen to create the vapis for it. In the generated files there are some properties defined like: public int index { get; set; } And the accessor methods (which I use from C and only return the value of the property) duplicating this 'get' and 'set' f

Re: [Vala] Typedeffing globally with Vala

2013-07-22 Thread Luca Bruno
On 20/07/2013 20:24, Tarnyko wrote: I'd like to be able to do the following, as this is possible in C : #ifdef G_OS_WIN32 typedef int64 Posix.off_t; #endif So I'd only have to put this at the beginning of my code, and I won't need to change the rest of the code nor the VAPI. Is it possible in V