Re: Wrapping Clutter functions.

2011-09-04 Thread Jens Georg
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 muc

Wrapping Clutter functions.

2011-09-04 Thread Ian Martin
Hi, I'm having a crack at wrapping a bit of the Clutter library.  The Clutter::Animator::set_key function is keeping me entertained at present.  The C function is: ClutterAnimator* clutter_animator_set_key (ClutterAnimator *animator,  GObject *object,  const gchar *property_name, guint mode, g