Re: [Re: [Re: [Re: [Re: [Re: [Re: [Re: [Re: [[gtkmm] technical question: GTKMM_LIFECYCLE]]]]]]]] ]



Paul Davis <pbd op net> wrote:
> >> keep things like I have implemented them at the moment and recommend
> >> users to write "Gst::RefPtr<Gst::Pad> my_pad = Gst::manage(new
Gst::Pad);"
> 
> something like:
> 
>    Gst::container_managed (new Gst::Pad);

I think that would still lead to confusion.

My crappy online email system isn't making it easy to review the thread, but I
don't really see how it's necessary anyway. If Gst::manage() just means that
the container ref-counts it, and you can ref-count it too, then how's that
different to Glib::RefPtr<Gst::Pad> refPad = Gst::Pad::create(), which is how
I'd expect it to be done based on all the other wrappers.


Murray Cumming
murrayc usa net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]