Commit 70a0ee4c authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

controller: Export boxed type copy/free functions for GstControlPoint

parent 226d01a9
......@@ -64,14 +64,13 @@ enum
static guint gst_timed_value_control_source_signals[LAST_SIGNAL] = { 0 };
/*
/**
* gst_control_point_free:
* @prop: the object to free
* @cp: the object to free
*
* Private method which frees all data allocated by a #GstControlPoint
* instance.
* Frees all data allocated by a #GstControlPoint instance.
*/
static void
void
gst_control_point_free (GstControlPoint * cp)
{
g_return_if_fail (cp);
......@@ -79,10 +78,10 @@ gst_control_point_free (GstControlPoint * cp)
g_slice_free (GstControlPoint, cp);
}
static gpointer
gst_control_point_copy (GstControlPoint * boxed)
GstControlPoint *
gst_control_point_copy (GstControlPoint * cp)
{
return g_slice_dup (GstControlPoint, boxed);
return g_slice_dup (GstControlPoint, cp);
}
GType
......
......@@ -135,6 +135,10 @@ GList * gst_timed_value_control_source_get_all (GstTimedValueCont
gint gst_timed_value_control_source_get_count (GstTimedValueControlSource * self);
void gst_timed_value_control_invalidate_cache (GstTimedValueControlSource * self);
void gst_control_point_free (GstControlPoint * cp);
GstControlPoint * gst_control_point_copy (GstControlPoint * cp);
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTimedValueControlSource, gst_object_unref)
#endif
......
EXPORTS
gst_argb_control_binding_get_type
gst_argb_control_binding_new
gst_control_point_copy
gst_control_point_free
gst_control_point_get_type
gst_direct_control_binding_get_type
gst_direct_control_binding_new
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment