diff options
Diffstat (limited to 'win32/common/gstrtpbin-marshal.c')
-rw-r--r-- | win32/common/gstrtpbin-marshal.c | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/win32/common/gstrtpbin-marshal.c b/win32/common/gstrtpbin-marshal.c index d52c2baaa..5fae29f3f 100644 --- a/win32/common/gstrtpbin-marshal.c +++ b/win32/common/gstrtpbin-marshal.c @@ -321,3 +321,104 @@ gst_rtp_bin_marshal_UINT64__BOOLEAN_UINT64 (GClosure * closure, g_value_set_uint64 (return_value, v_return); } + +/* BOOL:POINTER,BOOL (gstrtpbin-marshal.list:10) */ +void +gst_rtp_bin_marshal_BOOLEAN__POINTER_BOOLEAN (GClosure * closure, + GValue * return_value G_GNUC_UNUSED, + guint n_param_values, + const GValue * param_values, + gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data) +{ + typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_BOOLEAN) (gpointer data1, + gpointer arg_1, gboolean arg_2, gpointer data2); + register GMarshalFunc_BOOLEAN__POINTER_BOOLEAN callback; + register GCClosure *cc = (GCClosure *) closure; + register gpointer data1, data2; + gboolean v_return; + + g_return_if_fail (return_value != NULL); + g_return_if_fail (n_param_values == 3); + + if (G_CCLOSURE_SWAP_DATA (closure)) { + data1 = closure->data; + data2 = g_value_peek_pointer (param_values + 0); + } else { + data1 = g_value_peek_pointer (param_values + 0); + data2 = closure->data; + } + callback = + (GMarshalFunc_BOOLEAN__POINTER_BOOLEAN) (marshal_data ? marshal_data : + cc->callback); + + v_return = callback (data1, + g_marshal_value_peek_pointer (param_values + 1), + g_marshal_value_peek_boolean (param_values + 2), data2); + + g_value_set_boolean (return_value, v_return); +} + +/* VOID:UINT,UINT,UINT,UINT,POINTER (gstrtpbin-marshal.list:11) */ +void +gst_rtp_bin_marshal_VOID__UINT_UINT_UINT_UINT_POINTER (GClosure * closure, + GValue * return_value G_GNUC_UNUSED, + guint n_param_values, + const GValue * param_values, + gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data) +{ + typedef void (*GMarshalFunc_VOID__UINT_UINT_UINT_UINT_POINTER) (gpointer + data1, guint arg_1, guint arg_2, guint arg_3, guint arg_4, gpointer arg_5, + gpointer data2); + register GMarshalFunc_VOID__UINT_UINT_UINT_UINT_POINTER callback; + register GCClosure *cc = (GCClosure *) closure; + register gpointer data1, data2; + + g_return_if_fail (n_param_values == 6); + + if (G_CCLOSURE_SWAP_DATA (closure)) { + data1 = closure->data; + data2 = g_value_peek_pointer (param_values + 0); + } else { + data1 = g_value_peek_pointer (param_values + 0); + data2 = closure->data; + } + callback = + (GMarshalFunc_VOID__UINT_UINT_UINT_UINT_POINTER) (marshal_data ? + marshal_data : cc->callback); + + callback (data1, + g_marshal_value_peek_uint (param_values + 1), + g_marshal_value_peek_uint (param_values + 2), + g_marshal_value_peek_uint (param_values + 3), + g_marshal_value_peek_uint (param_values + 4), + g_marshal_value_peek_pointer (param_values + 5), data2); +} + +/* VOID:UINT64 (gstrtpbin-marshal.list:12) */ +void +gst_rtp_bin_marshal_VOID__UINT64 (GClosure * closure, + GValue * return_value G_GNUC_UNUSED, + guint n_param_values, + const GValue * param_values, + gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data) +{ + typedef void (*GMarshalFunc_VOID__UINT64) (gpointer data1, + guint64 arg_1, gpointer data2); + register GMarshalFunc_VOID__UINT64 callback; + register GCClosure *cc = (GCClosure *) closure; + register gpointer data1, data2; + + g_return_if_fail (n_param_values == 2); + + if (G_CCLOSURE_SWAP_DATA (closure)) { + data1 = closure->data; + data2 = g_value_peek_pointer (param_values + 0); + } else { + data1 = g_value_peek_pointer (param_values + 0); + data2 = closure->data; + } + callback = + (GMarshalFunc_VOID__UINT64) (marshal_data ? marshal_data : cc->callback); + + callback (data1, g_marshal_value_peek_uint64 (param_values + 1), data2); +} |