Re: [Vala] How to initialize static field



Jan Hudec wrote:
To enforce initialization of static members of Foo, you can try putting
       typeof(Foo);
here.

Maybe Vala could do that automatically the first time a static member of a
class is accessed?


Best regards,

Frederik



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