Re: [Re: [Re: [Re: [Re: [Re: [Re: [Re: [Re: [[gtkmm] technical question: GTKMM_LIFECYCLE]]]]]]]] ]
- From: Murray Cumming <murrayc usa net>
- To: Paul Davis <pbd op net>, Murray Cumming <murrayc usa net>
- Cc: "Martin Schulze" <MHL Schulze t-online de>, gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [Re: [Re: [Re: [Re: [Re: [Re: [Re: [Re: [[gtkmm] technical question: GTKMM_LIFECYCLE]]]]]]]] ]
- Date: Wed, 02 Oct 2002 18:49:20 +0100
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]