Re: [Vala] How to initialize a Glib.Pid?



Hello,

Levi Bard <taktaktaktaktaktaktaktaktaktak    > writes:
 * The variable is actually initialized in the resulting C code, by means 
of
  [CCode (default_value = "0")] attribute applied to Glib.Pid type in vapi.
  However, valac insists that I have to initialize it nevertheless.

I think this is related to http://bugzilla.gnome.org/show_bug.cgi?id=578968 .

Yes. Exactly the same symptoms (the assertion failures were there, too).
With the addition, that types like int have an obvious syntax for writing
constants of that type, while types like Pid don't.




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