Re: [gtkmm] Re: [gnomemm] Problems with Gst::Object
- From: Christian Meyer <chrisime uni de>
- To: murrayc usa net
- Cc: gtkmm-list <gtkmm-list gnome org>, gnomemm-list <gnomemm-list gnome org>
- Subject: Re: [gtkmm] Re: [gnomemm] Problems with Gst::Object
- Date: 19 Sep 2002 18:00:59 +0200
Hi!
Am Don, 2002-09-19 um 16.58 schrieb Murray Cumming:
> On Thu, 2002-09-19 at 15:53, Murray Cumming wrote:
> > On Thu, 2002-09-19 at 15:43, Christian Meyer wrote:
> > > Hi!
> > >
> > > I'm currently trying to wrap Gstreamer. My main problem is Gst::Object.
> > > I'm quite unsure if the ctor is correct. IMO I need a wrapper which
> > > transforms a Glib::Object to a Gst::Object.
> > >
> > > Second problem:
> > > It seems like the compiler doesn't like my defined macro or the macro
> > > used in GstObject (see
> > > http://gstreamer.net/docs/0.4.0/gstreamer/gstobject.html for more
> > > information)
>
> I just looked at that URL again and it does seem like it is missing a
> GST_OBJECT casting macro. Maybe you should patch gstreamer, or at least
> ask them.
I asked the gstreamer people and checked gstobject.h myself:
# define GST_OBJECT(obj)
(G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_OBJECT, GstObject))
#define GST_OBJECT_CAST(obj) ((GstObject*)(obj))
# define GST_OBJECT GST_OBJECT_CAST
So everything seems ok.
Seems like I'm missing something :*(
Greetings,
Christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]