[Vala] Calling cogl_path_new from vala



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]