Re: [Vala] Calling cogl_path_new from vala



On Thu, Apr 28, 2011 at 02:59:39PM +0400, Pavel Stupnikov wrote:
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?

Always file a bug if something is wrong.

-- 
http://www.debian.org - The Universal Operating System

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]