mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
interfaces: clean up the use of iface and class/klass
This commit is contained in:
parent
ea030c9452
commit
b6d34084f2
9 changed files with 13 additions and 13 deletions
|
@ -94,7 +94,7 @@ gst_tag_setter_get_type (void)
|
|||
if (g_once_init_enter (&tag_setter_type)) {
|
||||
GType _type;
|
||||
static const GTypeInfo tag_setter_info = {
|
||||
sizeof (GstTagSetterIFace), /* class_size */
|
||||
sizeof (GstTagSetterInterface), /* class_size */
|
||||
NULL, /* base_init */
|
||||
NULL, /* base_finalize */
|
||||
NULL,
|
||||
|
|
|
@ -29,7 +29,7 @@ G_BEGIN_DECLS
|
|||
#define GST_TYPE_TAG_SETTER (gst_tag_setter_get_type ())
|
||||
#define GST_TAG_SETTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TAG_SETTER, GstTagSetter))
|
||||
#define GST_IS_TAG_SETTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TAG_SETTER))
|
||||
#define GST_TAG_SETTER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_TAG_SETTER, GstTagSetterIFace))
|
||||
#define GST_TAG_SETTER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_TAG_SETTER, GstTagSetterInterface))
|
||||
|
||||
/**
|
||||
* GstTagSetter:
|
||||
|
@ -37,17 +37,17 @@ G_BEGIN_DECLS
|
|||
* Opaque #GstTagSetter data structure.
|
||||
*/
|
||||
typedef struct _GstTagSetter GstTagSetter; /* Dummy typedef */
|
||||
typedef struct _GstTagSetterIFace GstTagSetterIFace;
|
||||
typedef struct _GstTagSetterInterface GstTagSetterInterface;
|
||||
|
||||
/**
|
||||
* GstTagSetterIFace:
|
||||
* GstTagSetterInterface:
|
||||
* @g_iface: parent interface type.
|
||||
*
|
||||
* #GstTagSetterIFace interface.
|
||||
* #GstTagSetterInterface interface.
|
||||
*/
|
||||
/* use an empty interface here to allow detection of elements using user-set
|
||||
tags */
|
||||
struct _GstTagSetterIFace
|
||||
struct _GstTagSetterInterface
|
||||
{
|
||||
GTypeInterface g_iface;
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ GstCheckABIStruct list[] = {
|
|||
{"GstStructure", sizeof (GstStructure), 20},
|
||||
{"GstSystemClock", sizeof (GstSystemClock), 200},
|
||||
{"GstSystemClockClass", sizeof (GstSystemClockClass), 176},
|
||||
{"GstTagSetterIFace", sizeof (GstTagSetterIFace), 8},
|
||||
{"GstTagSetterInterface", sizeof (GstTagSetterInterface), 8},
|
||||
{"GstTask", sizeof (GstTask), 80},
|
||||
{"GstTaskClass", sizeof (GstTaskClass), 140},
|
||||
{"GstTrace", sizeof (GstTrace), 20},
|
||||
|
|
|
@ -54,7 +54,7 @@ static GstCheckABIStruct list[] = {
|
|||
{"GstStructure", sizeof (GstStructure), 20},
|
||||
{"GstSystemClock", sizeof (GstSystemClock), 200},
|
||||
{"GstSystemClockClass", sizeof (GstSystemClockClass), 176},
|
||||
{"GstTagSetterIFace", sizeof (GstTagSetterIFace), 8},
|
||||
{"GstTagSetterInterface", sizeof (GstTagSetterInterface), 8},
|
||||
{"GstTask", sizeof (GstTask), 80},
|
||||
{"GstTaskClass", sizeof (GstTaskClass), 140},
|
||||
{"GstTrace", sizeof (GstTrace), 20},
|
||||
|
|
|
@ -54,7 +54,7 @@ static GstCheckABIStruct list[] = {
|
|||
{"GstStructure", sizeof(GstStructure), 20},
|
||||
{"GstSystemClock", sizeof(GstSystemClock), 196},
|
||||
{"GstSystemClockClass", sizeof(GstSystemClockClass), 176},
|
||||
{"GstTagSetterIFace", sizeof(GstTagSetterIFace), 8},
|
||||
{"GstTagSetterInterface", sizeof(GstTagSetterInterface), 8},
|
||||
{"GstTask", sizeof(GstTask), 80},
|
||||
{"GstTaskClass", sizeof(GstTaskClass), 140},
|
||||
{"GstTrace", sizeof(GstTrace), 20},
|
||||
|
|
|
@ -54,7 +54,7 @@ static GstCheckABIStruct list[] = {
|
|||
{"GstStructure", sizeof (GstStructure), 20},
|
||||
{"GstSystemClock", sizeof (GstSystemClock), 200},
|
||||
{"GstSystemClockClass", sizeof (GstSystemClockClass), 176},
|
||||
{"GstTagSetterIFace", sizeof (GstTagSetterIFace), 8},
|
||||
{"GstTagSetterInterface", sizeof (GstTagSetterInterface), 8},
|
||||
{"GstTask", sizeof (GstTask), 80},
|
||||
{"GstTaskClass", sizeof (GstTaskClass), 140},
|
||||
{"GstTrace", sizeof (GstTrace), 20},
|
||||
|
|
|
@ -54,7 +54,7 @@ static GstCheckABIStruct list[] = {
|
|||
{"GstStructure", sizeof (GstStructure), 40} ,
|
||||
{"GstSystemClock", sizeof (GstSystemClock), 288} ,
|
||||
{"GstSystemClockClass", sizeof (GstSystemClockClass), 352} ,
|
||||
{"GstTagSetterIFace", sizeof (GstTagSetterIFace), 16} ,
|
||||
{"GstTagSetterInterface", sizeof (GstTagSetterInterface), 16} ,
|
||||
{"GstTask", sizeof (GstTask), 160} ,
|
||||
{"GstTaskClass", sizeof (GstTaskClass), 280} ,
|
||||
{"GstTrace", sizeof (GstTrace), 32} ,
|
||||
|
|
|
@ -55,7 +55,7 @@ GstCheckABIStruct list[] = {
|
|||
{"GstStructure", sizeof (GstStructure), 20},
|
||||
{"GstSystemClock", sizeof (GstSystemClock), 200},
|
||||
{"GstSystemClockClass", sizeof (GstSystemClockClass), 176},
|
||||
{"GstTagSetterIFace", sizeof (GstTagSetterIFace), 8},
|
||||
{"GstTagSetterInterface", sizeof (GstTagSetterInterface), 8},
|
||||
{"GstTask", sizeof (GstTask), 80},
|
||||
{"GstTaskClass", sizeof (GstTaskClass), 140},
|
||||
{"GstTrace", sizeof (GstTrace), 20},
|
||||
|
|
|
@ -65,7 +65,7 @@ static GstCheckABIStruct list[] = {
|
|||
{"GstSystemClockClass", sizeof (GstSystemClockClass), 352},
|
||||
{"GstSystemClock", sizeof (GstSystemClock), 288},
|
||||
{"GstTagList", sizeof (GstTagList), 40},
|
||||
{"GstTagSetterIFace", sizeof (GstTagSetterIFace), 16},
|
||||
{"GstTagSetterInterface", sizeof (GstTagSetterInterface), 16},
|
||||
{"GstTaskClass", sizeof (GstTaskClass), 280},
|
||||
{"GstTask", sizeof (GstTask), 160},
|
||||
{"GstTaskPoolClass", sizeof (GstTaskPoolClass), 304},
|
||||
|
|
Loading…
Reference in a new issue