Re: Wrapping variable argument functions
- From: José Alburquerque <jaalburquerque cox net>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Wrapping variable argument functions
- Date: Wed, 06 Feb 2008 22:26:19 -0500
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.
-Jose
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]