mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-13 03:46:34 +00:00
7b0efa7033
This will be needed later to call the action signals of playbin2 for example. Also get the correct instance size of GClosure at runtime instead of always taking the largest known one.
13 lines
205 B
C
13 lines
205 B
C
#include <glib-object.h>
|
|
|
|
gint
|
|
gstsharp_g_closure_sizeof (void)
|
|
{
|
|
return sizeof (GClosure);
|
|
}
|
|
|
|
GType
|
|
gstsharp_g_type_from_instance (GTypeInstance *instance)
|
|
{
|
|
return G_TYPE_FROM_INSTANCE (instance);
|
|
}
|