Re: [Vala] How to initialize a Glib.Pid?
- From: Hans Baier <hansfbaier googlemail com>
- To: Jan Hudec <bulb ucw cz>
- Cc: vala-list gnome org
- Subject: Re: [Vala] How to initialize a Glib.Pid?
- Date: Sat, 18 Apr 2009 06:51:33 +0700
2009/4/18 Jan Hudec <bulb ucw cz>:
Hello Folks,
I have a switch, that will actually always initialize a variable of type
Glib.Pid, but valac wouldn't trust me and say it might be uninitialized.
Using a cast
GLib.Pid pid = (GLib.Pid)0;
works for me.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]