Thanks for this. I have heard great things about libbullet. I
believe it is even used by professional PS3 devs in commercial games
--
Sent from my Amiga
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
Hi all,
Was surprised to see the following fail to compile with an error:
Incompatible expressions in Vala 0.10.0 (simplified test case to
illustrate):
public static int main (string[] args) {
int? x = test (12);
return 0;
}
public int? test (int number) {
return (0 == number) ? null : 1;
Dru Moore píše v Ne 28. 11. 2010 v 18:22 +:
Hi all,
Was surprised to see the following fail to compile with an error:
Incompatible expressions in Vala 0.10.0 (simplified test case to
illustrate):
public static int main (string[] args) {
int? x = test (12);
return 0;
}
public
2010/11/28 Jiří Zárevúcky zarevucky.j...@gmail.com:
You need to cast it like this:
(0 == number) ? null : (int?) 1
or
int? i = 1;
(0 == number) ? null : i
Thank you. That's it of course.
cheers
___
vala-list mailing list
vala-list@gnome.org
I tried it and it worked. Thank yo both for your help.
On Sat, Nov 27, 2010 at 8:09 PM, Frederik scumm_fr...@gmx.net wrote:
On 11/27/2010 04:20 PM, aug dawg wrote:
I recently installed the DBus Vala bindings
You should prefer GDBus now. It's part of GIO = 2.26 and its classes
are inside