mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-11 02:24:13 +00:00
gst/gstghostpad.*: Fix unintended API removal: re-add GST_GHOST_PAD_CAST to the header.
Original commit message from CVS: 2008-10-08 Andy Wingo <wingo@pobox.com> * gst/gstghostpad.h (GST_GHOST_PAD_CAST): * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API removal: re-add GST_GHOST_PAD_CAST to the header.
This commit is contained in:
parent
9640db9fe2
commit
b731374c49
3 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
2008-10-08 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/gstghostpad.h (GST_GHOST_PAD_CAST):
|
||||
* gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
|
||||
removal: re-add GST_GHOST_PAD_CAST to the header.
|
||||
|
||||
* gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
|
||||
(GstGhostPadClass): Publically expose these structures so as to
|
||||
allow easy subclassing from C. Hide the member data behind a
|
||||
|
|
|
@ -485,7 +485,6 @@ gst_proxy_pad_save_thyself (GstObject * object, xmlNodePtr parent)
|
|||
*/
|
||||
|
||||
|
||||
#define GST_GHOST_PAD_CAST(obj) ((GstGhostPad*)(obj))
|
||||
#define GST_GHOST_PAD_PRIVATE(obj) (GST_GHOST_PAD_CAST (obj)->private)
|
||||
|
||||
struct _GstGhostPadPrivate
|
||||
|
|
|
@ -65,6 +65,7 @@ GType gst_proxy_pad_get_type (void);
|
|||
#define GST_IS_GHOST_PAD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_GHOST_PAD))
|
||||
#define GST_GHOST_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_GHOST_PAD, GstGhostPad))
|
||||
#define GST_GHOST_PAD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_GHOST_PAD, GstGhostPadClass))
|
||||
#define GST_GHOST_PAD_CAST(obj) ((GstGhostPad*)(obj))
|
||||
|
||||
/**
|
||||
* GstGhostPad:
|
||||
|
|
Loading…
Reference in a new issue