On Wed, 2008-11-19 at 21:33 +0000, Gordon Allott wrote:
> > On Wed, 2008-11-19 at 15:31 +0000, Gordon Allott wrote:
> > yes, it's known. there have been changes in vala that make the .vapi
> > files not working. the right fix is to add an annotation to the
> > constructor for each type.
> >
>
> I'm willing to put the effort in to fix this, but I am not quite sure
> what you mean here, I tried adding API documentation to the constructor
> of ClutterGroup but that didn't help any, I'm not quite sure what you
> mean by annotation.
I mean annotating every constructor with a decoration like:
public class Group : Actor, Scriptable, Container {
public int get_n_children ();
public weak Clutter.Actor get_nth_child (int index_);
[CCode (type = "ClutterActor*", has_construct_function = false)]
public Group ();
public void remove_all ();
}
which should turn off the automatic invocation of a non-existing
function <type_name>_construct().
ciao,
Emmanuele.
--
Emmanuele Bassi, Intel Open Source Technology Center
--
To unsubscribe send a mail to [EMAIL PROTECTED]