On Fri, 2012-07-06 at 08:11 +0200, mar...@saepia.net wrote:
Hi
I need to check (for debugging purposes) if current thread is main
thread. How can I do that in Vala?
I know that in GLib exists g_thread_self() and I can use result of
that function for that purpose but in Vala's vapi it has
http://valadoc.org/#!api=sdl-gfx/SDLGraphics.Rectangle.fill_color
Regarding that function, how can I have an Uint32 act as a color? I tried
0xFF but no luck.
Thank you.
--
David Gomes
___
vala-list mailing list
vala-list@gnome.org
On Wed, 2012-08-01 at 23:50 +0100, David Gomes wrote:
http://valadoc.org/#!api=sdl-gfx/SDLGraphics.Rectangle.fill_color
Regarding that function, how can I have an Uint32 act as a color? I tried
0xFF but no luck.
I took a look at the SDL documentation,
On Tue, 2012-07-31 at 08:33 +0800, Nor Jaidi Tuah wrote:
Dear all,
My project (pasang-emas.sourceforge.net) uses automake,
using AM_PROG_VALAC macro in the configure.ac file.
It uses functions from Math (Math.sin, Math.hypot etc).
Recently, one user complains that upon issuing
* Why it works on my computer? I check my Makefile,
and there is no -lm.
I seem to remember that on certain platforms math functions are included
in libc and adding libm isn't necessary. It's probably not a good idea
to rely on that and either always pass -lm or use AC_CHECK_LIB (or