GNOME Bugzilla – Bug 573713
Method lookup fails when trying to wrap the gstreamermm Gst::Object class
Last modified: 2009-03-04 23:32:30 UTC
Trying to have gmmproc generate .h and .cc files (from .hg and .ccg files) for the gstreamermm Gst::Object class instead of handwriting them doesn't work because method look up fails though the method defs exist in the .defs file. The following patch (against gstreamermm's trunk) attempts to migrate its object.{h,cc} files from handwriting them to having .hg and .ccg files that gmmproc can use (so that the virtual functions can also be wrapped), but gmmproc outputs a "method defs lookup failed (1)" message for the methods that are wrapped.
Created attachment 129830 [details] [review] gmmproc gstreamermm object migration patch
I just realized that GstObject only has four signals and two virtual methods and they can be handwritten. Closing.
You are just missing the _DEFS(gstreamermm,gst) line in the .hg file. Hand-writing signal wrappers is unpleasant. I would use gmmproc where possible.
Sorry. Coding too fast and didn't pay attention to important detail.