[Vala] Vala posix profile
- From: pancake <pancake youterm com>
- To: "vala-list gnome org" <vala-list gnome org>
- Subject: [Vala] Vala posix profile
- Date: Sun, 17 Apr 2011 13:20:48 +0200
I just did a little test using cairo with the posix profile of Vala. You can read the code at code.valaide.org
The first issue I get is that stdio.h is not included until you use a function like print() which is a bit
annoying because vala already places some defines before the code (cairo_destroy,,..)
I think stdio.h should be included when using the --profile=posix
The other bug I found is that Vala places a g_return_if_fail if I pass an instance as argument to a
function... This shouldnt be done on posix. Or at least provide a non glib dependant code like redefining
this or just use assert()
What do you think about these changes?
Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]