Re: Wrapping variable argument functions
- From: Murray Cumming <murrayc murrayc com>
- To: José Alburquerque <jaalburquerque cox net>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Wrapping variable argument functions
- Date: Thu, 07 Feb 2008 10:48:17 +0100
On Wed, 2008-02-06 at 22:26 -0500, José Alburquerque wrote:
> José Alburquerque wrote:
> > You know, I think I'll do something like what happens with
> > Gst::Element::link() which returns the element so another link can be
> > called right after, as in:
> >
> > element->link(one)->link(two);
> >
> > So the syntax would look like:
> >
> > pad->set(f1)->set(f2). Would this work? Thanks.
> >
> >
>
> This almost worked, but the series of references causes GstStructure
> immutability warnings because the GstCaps is referenced more than once
> when an attempt at adding a field to one of its GstStructure occurs.
> I'm left with adding fields one at time.
I don't quite understand. Could you send me a patch that shows the
problem - maybe I can fix it.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]