Re: Wrapping Clutter functions.
- From: Jens Georg <mail jensge org>
- To: Ian Martin <ian_martin65 yahoo com au>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: Wrapping Clutter functions.
- Date: Sun, 04 Sep 2011 14:05:15 +0200
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]