[Gtk-sharp-list] Here is a patch for gtk-sharp/pango/pango-api.xml
Tiago Lima
tiago.lima@vianw.pt
Fri, 20 Feb 2004 20:28:53 +0000
Answer below...
On Friday 20 February 2004 19:55, Mike Kestner wrote:
> On Fri, 2004-02-20 at 12:15, Tiago Lima wrote:
> > I found out that three arguments needed to be passed as out... (in the
> > ParseMarkup function of Pango.Global class)
> > Here is the patch...
>
> Couple of things. Please make patches with diff -u. I put this in my
> .cvsrc so I don't have to remember it. :)
Ok. my .cvsrc is now updated :)
>
> Second, we don't directly patch the api.xml files. Instead, we use
> metadata rules to alter them, since they are generated by the
> gapi-parser and any hand-edits would be lost when the parser is rerun.
> Take a look at the pango/Pango.metadata file. There are already some
> pass_as "out" rules in there that you can use as a model.
Ups, ok, now I know... :)
I will try to see if I can add a rule for that... Is there any place where I
can see documentation about .metadata files?
>
> If you really don't want to get into that, file a bug for this and
> either me or whoever gets to it first will do the metadata-fu for it.
>
> Thanks,
Thanks,
Tiago Lima