Re: [Vala] Does vala have a preprocessor?



"Jaap A. Haitsma" <jaap haitsma org> writes:

Hi,

Depending on which libraries are present I'd like to compile different
code. Is this already in vala? If not is it planned?

Thanks

Jaap

As far as I remember:

[Conditional (condition=<here-insert-condition>)]
public int test () {
  return 0;
}

Regards
-- 
I've probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see http://counter.li.org/)




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