[Vala] Calling cogl_path_new from vala
- From: Pavel Stupnikov <pavels linux-ink ru>
- To: vala-list gnome org
- Subject: [Vala] Calling cogl_path_new from vala
- Date: Thu, 28 Apr 2011 14:59:39 +0400
Hi!
What is the right way to call cogl_path_new from vala?
As I understand, currently is binded to Cogl.Path.Path(), but
cogl_path_new is not a constructor for CoglPath, its return type is void.
And so, if I try to write
new Cogl.Path();
it not only looks strange, but also gives an error when compiling
generated .c:
src/test-clutter.c:1607:2: error: invalid use of void expression
So, is there another way or I should file a bug?
--
Regards,
Pavel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]