gmmproc parsing problem in cluttermm
- From: Ian Martin <martin_id vodafone co nz>
- To: Gtkmm List <gtkmm-list gnome org>
- Subject: gmmproc parsing problem in cluttermm
- Date: Fri, 8 Jan 2016 12:06:07 +1300
Hi,
I've finally got some time to relook at the cluttermm bindings again. I
have a problem with regenerating the defs files that I think is probably
due to some funky code in clutter: the clutter API uses inheritance in
the C code, but in a very C sort of way. For example, this creates a
new ClutterBindConstraint, but returns a ClutterConstraint * :
ClutterConstraint * clutter_bind_constraint_new
(ClutterActor *source,
ClutterBindCoordinate coordinate,
gfloat offset);
which I think is why when h2def.py parses the code all the
ClutterBindConstraint methods are parsed as ( global ) functions, not
methods.
I'm OK with having to manually go through the defs file and correct it
all, but would like to know first that I'm not missing something?
Ian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]