Wrapping Clutter functions.
- From: Ian Martin <ian_martin65 yahoo com au>
- To: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Wrapping Clutter functions.
- Date: Sun, 4 Sep 2011 04:32:39 -0700 (PDT)
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, gdouble progress, const GValue *value);
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?
Ian.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]