Am 2003.03.13 17:45 schrieb(en) Murray.Cumming@...:
> > Murray, could you please add a verion of h2defs.py that is
> > working with gtkmmproc to gtkmm2 cvs module?
> There is no secret version that is not in cvs.
I thought you might be using an older version.
> > I tried to
> > generate an up-to-date gst_methods.defs with the current CVS
> > version of h2defs.py and gtkmmproc goes haywire with the new file:
> > /usr/local/lib/gtkmm-2.0/proc/gtkmmproc -I ../../tools/m4 --defs .
> > propsentry . ./../gstmm
> > Broken lisp definition for function __volatile__.
> > unknown token (c-name "__volatile__")
> > unknown token (return-type "__asm__")
> > unknown token (parameters '("-"1:-lwarx" "%0")
> > '("%3-#-atomic_add\n-add"
> > "%0") '("%0\n"" "PPC405_ERR77(0") ))
> > [and so on ....]
> Sometimes you need to fix the generated .defs file manually and/or fix
> h2defs.py or ask James Henstridge to do it for you. Or maybe you can somehow
> omit that strange header. I'm sure that no public header should have asm in
Okay, I will try to correct the output file.
> > Also I don't find the "tools/generate_defs utility" that is
> > mentioned in "using_gtkmmproc.txt" for the creation of
> > [...]_signals.defs.
> Each mm project has it's own. Gstmm might have on already, or you might need
> to add it.
Hang on, is it "generate_extra_defs" what I am looking for?
Ah yes, this seems to work. I will change the documentation in
"using_gtkmmproc.txt" to match that name.
However, do you know, what the following error means?
(process:10559): GLib-GObject-CRITICAL **: file gsignal.c: line 1111
(g_signal_list_ids): assertion `G_TYPE_IS_INSTANTIATABLE (itype) ||
G_TYPE_IS_INTERFACE (itype)' failed