Re: Wrapping Clutter functions.



On So, 2011-09-04 at 04:32 -0700, Ian Martin wrote:

> The return value is a pointer to the object itself.  In C I believe
> this helps chain the function; I'm struggling to see why I'd bother in
> C++.  So can I change it to return void (or mabe bool?) or is that
> messing with the library too much?

Why wouldn't it be nice to have the possibility of saying
animator.set_key().set_key().set_key()... ?

Looks quite C++.



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