mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
Remove broken class to interface cast macros from GstUriHandler and GstImplementsInterface headers
Remove class-to-interface-struct cast macros which don't work, don't make sense, and in some cases wouldn't even compile if used. Removal should be ok seeing that code which uses any of these is broken and bound to crash. Fixes #565607. API: remove GST_IMPLEMENTS_INTERFACE_CLASS API: remove GST_IS_IMPLEMENTS_INTERFACE_CLASS API: remove GST_URI_HANDLER_CLASS
This commit is contained in:
parent
dbc64b5e6b
commit
b4645e277b
2 changed files with 0 additions and 6 deletions
|
@ -32,13 +32,8 @@ G_BEGIN_DECLS
|
|||
#define GST_IMPLEMENTS_INTERFACE(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_IMPLEMENTS_INTERFACE, \
|
||||
GstImplementsInterface))
|
||||
#define GST_IMPLEMENTS_INTERFACE_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_IMPLEMENTS_INTERFACE, \
|
||||
GstImplementsInterfaceClass))
|
||||
#define GST_IS_IMPLEMENTS_INTERFACE(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_IMPLEMENTS_INTERFACE))
|
||||
#define GST_IS_IMPLEMENTS_INTERFACE_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_IMPLEMENTS_INTERFACE))
|
||||
#define GST_IMPLEMENTS_INTERFACE_GET_CLASS(inst) \
|
||||
(G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_IMPLEMENTS_INTERFACE, \
|
||||
GstImplementsInterfaceClass))
|
||||
|
|
|
@ -58,7 +58,6 @@ typedef enum {
|
|||
#define GST_URI_HANDLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_URI_HANDLER, GstURIHandler))
|
||||
#define GST_IS_URI_HANDLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_URI_HANDLER))
|
||||
#define GST_URI_HANDLER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_URI_HANDLER, GstURIHandlerInterface))
|
||||
#define GST_URI_HANDLER_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GST_TYPE_URI_HANDLER, GstURIHandler))
|
||||
|
||||
/**
|
||||
* GstURIHandler:
|
||||
|
|
Loading…
Reference in a new issue