From 10aff0d66ef362f2e4a8ef6ff66be99e4b6cc34f Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Sat, 1 Jun 2024 15:14:58 +0200 Subject: [PATCH] Regenerate with latest gir Part-of: --- gstreamer-allocators/src/auto/constants.rs | 1 + .../src/auto/dma_buf_allocator.rs | 2 +- .../src/auto/drm_dumb_allocator.rs | 1 + gstreamer-allocators/src/auto/fd_allocator.rs | 1 + gstreamer-allocators/src/auto/flags.rs | 1 + .../src/auto/phys_memory_allocator.rs | 1 + .../src/auto/shm_allocator.rs | 2 +- gstreamer-allocators/src/auto/versions.txt | 2 +- .../sys/src/auto/versions.txt | 2 +- gstreamer-analytics/src/auto/flags.rs | 1 + gstreamer-analytics/src/auto/versions.txt | 2 +- gstreamer-analytics/sys/src/auto/versions.txt | 2 +- gstreamer-app/src/auto/app_sink.rs | 17 +++--- gstreamer-app/src/auto/app_src.rs | 38 ++++++------- gstreamer-app/src/auto/enums.rs | 1 + gstreamer-app/src/auto/versions.txt | 2 +- gstreamer-app/sys/src/auto/versions.txt | 2 +- gstreamer-audio/src/auto/audio_aggregator.rs | 7 ++- .../src/auto/audio_aggregator_convert_pad.rs | 4 +- .../src/auto/audio_aggregator_pad.rs | 3 +- gstreamer-audio/src/auto/audio_base_sink.rs | 17 +++--- gstreamer-audio/src/auto/audio_base_src.rs | 13 +++-- gstreamer-audio/src/auto/audio_decoder.rs | 10 ++-- gstreamer-audio/src/auto/audio_encoder.rs | 10 ++-- gstreamer-audio/src/auto/audio_filter.rs | 2 + gstreamer-audio/src/auto/audio_sink.rs | 2 +- gstreamer-audio/src/auto/audio_src.rs | 2 +- .../src/auto/audio_stream_align.rs | 1 + gstreamer-audio/src/auto/enums.rs | 1 + gstreamer-audio/src/auto/flags.rs | 1 + gstreamer-audio/src/auto/stream_volume.rs | 6 +- gstreamer-audio/src/auto/versions.txt | 2 +- gstreamer-audio/sys/src/auto/versions.txt | 2 +- gstreamer-base/src/auto/adapter.rs | 1 + gstreamer-base/src/auto/aggregator.rs | 9 +-- gstreamer-base/src/auto/aggregator_pad.rs | 5 +- gstreamer-base/src/auto/base_parse.rs | 3 +- gstreamer-base/src/auto/base_sink.rs | 27 ++++----- gstreamer-base/src/auto/base_src.rs | 11 ++-- gstreamer-base/src/auto/base_transform.rs | 3 +- gstreamer-base/src/auto/enums.rs | 1 + gstreamer-base/src/auto/flags.rs | 1 + gstreamer-base/src/auto/functions.rs | 1 + gstreamer-base/src/auto/push_src.rs | 2 +- gstreamer-base/src/auto/versions.txt | 2 +- gstreamer-base/sys/src/auto/versions.txt | 2 +- gstreamer-check/src/auto/test_clock.rs | 3 +- gstreamer-check/src/auto/versions.txt | 2 +- gstreamer-check/sys/src/auto/versions.txt | 2 +- .../src/auto/argb_control_binding.rs | 9 +-- .../src/auto/direct_control_binding.rs | 3 +- gstreamer-controller/src/auto/enums.rs | 1 + .../src/auto/interpolation_control_source.rs | 4 +- .../src/auto/lfo_control_source.rs | 12 ++-- .../src/auto/proxy_control_binding.rs | 1 + .../src/auto/timed_value_control_source.rs | 8 +-- .../src/auto/trigger_control_source.rs | 4 +- gstreamer-controller/src/auto/versions.txt | 2 +- .../sys/src/auto/versions.txt | 2 +- gstreamer-editing-services/src/auto/asset.rs | 6 +- .../src/auto/audio_source.rs | 2 +- .../src/auto/audio_test_source.rs | 2 +- .../src/auto/audio_track.rs | 2 +- .../src/auto/audio_transition.rs | 4 +- .../src/auto/audio_uri_source.rs | 2 +- .../src/auto/base_effect.rs | 2 +- .../src/auto/base_effect_clip.rs | 2 +- .../src/auto/base_transition_clip.rs | 2 +- .../src/auto/base_xml_formatter.rs | 2 +- gstreamer-editing-services/src/auto/clip.rs | 8 +-- .../src/auto/clip_asset.rs | 4 +- .../src/auto/command_line_formatter.rs | 2 +- .../src/auto/container.rs | 8 +-- .../src/auto/discoverer_manager.rs | 11 ++-- gstreamer-editing-services/src/auto/effect.rs | 4 +- .../src/auto/effect_asset.rs | 2 +- .../src/auto/effect_clip.rs | 3 +- gstreamer-editing-services/src/auto/enums.rs | 1 + .../src/auto/extractable.rs | 2 +- gstreamer-editing-services/src/auto/flags.rs | 1 + .../src/auto/formatter.rs | 2 +- gstreamer-editing-services/src/auto/group.rs | 2 +- .../src/auto/image_source.rs | 2 +- gstreamer-editing-services/src/auto/layer.rs | 10 ++-- gstreamer-editing-services/src/auto/marker.rs | 4 +- .../src/auto/marker_list.rs | 10 ++-- .../src/auto/meta_container.rs | 4 +- .../src/auto/multi_file_source.rs | 2 +- .../src/auto/operation.rs | 2 +- .../src/auto/operation_clip.rs | 2 +- .../src/auto/overlay_clip.rs | 2 +- .../src/auto/pipeline.rs | 14 ++--- .../src/auto/project.rs | 18 +++--- gstreamer-editing-services/src/auto/source.rs | 2 +- .../src/auto/source_clip.rs | 2 +- .../src/auto/source_clip_asset.rs | 2 +- .../src/auto/test_clip.rs | 10 ++-- .../src/auto/text_overlay.rs | 3 +- .../src/auto/text_overlay_clip.rs | 16 +++--- .../src/auto/timeline.rs | 26 ++++----- .../src/auto/timeline_element.rs | 26 ++++----- .../src/auto/title_clip.rs | 18 +++--- .../src/auto/title_source.rs | 2 +- gstreamer-editing-services/src/auto/track.rs | 16 +++--- .../src/auto/track_element.rs | 18 +++--- .../src/auto/track_element_asset.rs | 4 +- .../src/auto/transition.rs | 2 +- .../src/auto/transition_clip.rs | 4 +- .../src/auto/uri_clip.rs | 6 +- .../src/auto/uri_clip_asset.rs | 6 +- .../src/auto/uri_source_asset.rs | 2 +- .../src/auto/versions.txt | 2 +- .../src/auto/video_source.rs | 2 +- .../src/auto/video_test_source.rs | 2 +- .../src/auto/video_track.rs | 2 +- .../src/auto/video_transition.rs | 8 +-- .../src/auto/video_uri_source.rs | 2 +- .../src/auto/xml_formatter.rs | 2 +- .../sys/src/auto/versions.txt | 2 +- gstreamer-gl/egl/src/auto/gl_display_egl.rs | 1 + gstreamer-gl/egl/src/auto/versions.txt | 2 +- gstreamer-gl/egl/sys/src/auto/versions.txt | 2 +- gstreamer-gl/src/auto/constants.rs | 1 + gstreamer-gl/src/auto/enums.rs | 2 +- gstreamer-gl/src/auto/flags.rs | 1 + gstreamer-gl/src/auto/functions.rs | 2 +- gstreamer-gl/src/auto/gl_allocation_params.rs | 1 + gstreamer-gl/src/auto/gl_base_filter.rs | 4 +- .../src/auto/gl_base_memory_allocator.rs | 2 + gstreamer-gl/src/auto/gl_base_src.rs | 3 +- gstreamer-gl/src/auto/gl_buffer_pool.rs | 2 +- gstreamer-gl/src/auto/gl_color_convert.rs | 2 +- gstreamer-gl/src/auto/gl_context.rs | 2 +- gstreamer-gl/src/auto/gl_display.rs | 4 +- gstreamer-gl/src/auto/gl_filter.rs | 2 +- gstreamer-gl/src/auto/gl_framebuffer.rs | 2 +- gstreamer-gl/src/auto/gl_memory_allocator.rs | 2 +- .../src/auto/gl_overlay_compositor.rs | 4 +- gstreamer-gl/src/auto/gl_shader.rs | 4 +- gstreamer-gl/src/auto/gl_upload.rs | 2 +- .../src/auto/gl_video_allocation_params.rs | 2 +- gstreamer-gl/src/auto/gl_view_convert.rs | 12 ++-- gstreamer-gl/src/auto/gl_window.rs | 10 ++-- gstreamer-gl/src/auto/glsl_stage.rs | 2 +- gstreamer-gl/src/auto/versions.txt | 2 +- gstreamer-gl/sys/src/auto/versions.txt | 2 +- .../wayland/src/auto/gl_display_wayland.rs | 1 + gstreamer-gl/wayland/src/auto/versions.txt | 2 +- .../wayland/sys/src/auto/versions.txt | 2 +- gstreamer-gl/x11/src/auto/gl_display_x11.rs | 1 + gstreamer-gl/x11/src/auto/versions.txt | 2 +- gstreamer-gl/x11/sys/src/auto/versions.txt | 2 +- gstreamer-mpegts/src/auto/section.rs | 1 + gstreamer-mpegts/src/auto/versions.txt | 2 +- gstreamer-mpegts/sys/src/auto/versions.txt | 2 +- gstreamer-net/src/auto/net_client_clock.rs | 15 ++--- gstreamer-net/src/auto/net_time_provider.rs | 5 +- gstreamer-net/src/auto/ntp_clock.rs | 2 +- gstreamer-net/src/auto/ptp_clock.rs | 7 ++- gstreamer-net/src/auto/versions.txt | 2 +- gstreamer-net/sys/src/auto/versions.txt | 2 +- .../src/auto/audio_visualizer.rs | 6 +- gstreamer-pbutils/src/auto/discoverer.rs | 14 ++--- .../src/auto/discoverer_audio_info.rs | 2 +- .../src/auto/discoverer_container_info.rs | 2 +- gstreamer-pbutils/src/auto/discoverer_info.rs | 2 +- .../src/auto/discoverer_stream_info.rs | 1 + .../src/auto/discoverer_subtitle_info.rs | 2 +- .../src/auto/discoverer_video_info.rs | 2 +- .../src/auto/encoding_audio_profile.rs | 2 +- .../src/auto/encoding_container_profile.rs | 2 +- .../src/auto/encoding_profile.rs | 4 +- gstreamer-pbutils/src/auto/encoding_target.rs | 2 +- .../src/auto/encoding_video_profile.rs | 2 +- gstreamer-pbutils/src/auto/enums.rs | 1 + gstreamer-pbutils/src/auto/flags.rs | 1 + gstreamer-pbutils/src/auto/functions.rs | 2 +- gstreamer-pbutils/src/auto/versions.txt | 2 +- gstreamer-pbutils/sys/src/auto/versions.txt | 2 +- gstreamer-play/src/auto/enums.rs | 2 +- gstreamer-play/src/auto/play.rs | 36 ++++++------ gstreamer-play/src/auto/play_audio_info.rs | 2 +- gstreamer-play/src/auto/play_media_info.rs | 2 +- .../src/auto/play_signal_adapter.rs | 24 ++++---- gstreamer-play/src/auto/play_stream_info.rs | 1 + gstreamer-play/src/auto/play_subtitle_info.rs | 2 +- gstreamer-play/src/auto/play_video_info.rs | 2 +- .../auto/play_video_overlay_video_renderer.rs | 6 +- .../src/auto/play_video_renderer.rs | 1 + gstreamer-play/src/auto/play_visualization.rs | 2 + gstreamer-play/src/auto/versions.txt | 2 +- gstreamer-play/sys/src/auto/versions.txt | 2 +- gstreamer-player/src/auto/enums.rs | 1 + gstreamer-player/src/auto/player.rs | 56 +++++++++---------- .../src/auto/player_audio_info.rs | 2 +- .../player_gmain_context_signal_dispatcher.rs | 2 +- .../src/auto/player_media_info.rs | 2 +- .../src/auto/player_signal_dispatcher.rs | 1 + .../src/auto/player_stream_info.rs | 1 + .../src/auto/player_subtitle_info.rs | 2 +- .../src/auto/player_video_info.rs | 2 +- .../player_video_overlay_video_renderer.rs | 6 +- .../src/auto/player_video_renderer.rs | 1 + .../src/auto/player_visualization.rs | 2 + gstreamer-player/src/auto/versions.txt | 2 +- gstreamer-player/sys/src/auto/versions.txt | 2 +- gstreamer-rtp/src/auto/constants.rs | 1 + gstreamer-rtp/src/auto/enums.rs | 1 + gstreamer-rtp/src/auto/flags.rs | 1 + gstreamer-rtp/src/auto/functions.rs | 2 +- gstreamer-rtp/src/auto/rtp_base_depayload.rs | 15 ++--- gstreamer-rtp/src/auto/rtp_base_payload.rs | 39 ++++++------- .../src/auto/rtp_header_extension.rs | 2 +- gstreamer-rtp/src/auto/versions.txt | 2 +- gstreamer-rtp/sys/src/auto/versions.txt | 2 +- gstreamer-rtsp-server/src/auto/enums.rs | 1 + gstreamer-rtsp-server/src/auto/flags.rs | 1 + .../src/auto/rtsp_address.rs | 1 + .../src/auto/rtsp_address_pool.rs | 2 +- gstreamer-rtsp-server/src/auto/rtsp_auth.rs | 4 +- gstreamer-rtsp-server/src/auto/rtsp_client.rs | 56 +++++++++---------- gstreamer-rtsp-server/src/auto/rtsp_media.rs | 50 ++++++++--------- .../src/auto/rtsp_media_factory.rs | 42 +++++++------- .../src/auto/rtsp_media_factory_uri.rs | 6 +- .../src/auto/rtsp_mount_points.rs | 2 +- .../src/auto/rtsp_onvif_client.rs | 2 +- .../src/auto/rtsp_onvif_media.rs | 2 +- .../src/auto/rtsp_onvif_media_factory.rs | 2 +- .../src/auto/rtsp_onvif_server.rs | 2 +- gstreamer-rtsp-server/src/auto/rtsp_server.rs | 18 +++--- .../src/auto/rtsp_session.rs | 8 +-- .../src/auto/rtsp_session_media.rs | 2 +- .../src/auto/rtsp_session_pool.rs | 6 +- gstreamer-rtsp-server/src/auto/rtsp_stream.rs | 14 ++--- .../src/auto/rtsp_stream_transport.rs | 2 +- .../src/auto/rtsp_thread_pool.rs | 4 +- gstreamer-rtsp-server/src/auto/versions.txt | 2 +- .../sys/src/auto/versions.txt | 2 +- gstreamer-rtsp/src/auto/enums.rs | 1 + gstreamer-rtsp/src/auto/flags.rs | 1 + .../src/auto/rtsp_auth_credential.rs | 2 + gstreamer-rtsp/src/auto/rtsp_auth_param.rs | 1 + gstreamer-rtsp/src/auto/rtsp_url.rs | 2 +- gstreamer-rtsp/src/auto/versions.txt | 2 +- gstreamer-rtsp/sys/src/auto/versions.txt | 2 +- gstreamer-sdp/src/auto/versions.txt | 2 +- gstreamer-sdp/sys/src/auto/versions.txt | 2 +- gstreamer-tag/sys/src/auto/versions.txt | 2 +- gstreamer-validate/src/auto/action_type.rs | 2 + gstreamer-validate/src/auto/bin_monitor.rs | 4 +- .../src/auto/element_monitor.rs | 2 +- gstreamer-validate/src/auto/enums.rs | 1 + gstreamer-validate/src/auto/flags.rs | 1 + gstreamer-validate/src/auto/issue.rs | 2 +- gstreamer-validate/src/auto/monitor.rs | 6 +- gstreamer-validate/src/auto/pad_monitor.rs | 2 +- .../src/auto/pipeline_monitor.rs | 2 +- gstreamer-validate/src/auto/report.rs | 2 +- gstreamer-validate/src/auto/reporter.rs | 2 +- gstreamer-validate/src/auto/runner.rs | 6 +- gstreamer-validate/src/auto/scenario.rs | 10 ++-- gstreamer-validate/src/auto/versions.txt | 2 +- gstreamer-validate/sys/src/auto/versions.txt | 2 +- gstreamer-video/src/auto/color_balance.rs | 4 +- .../src/auto/color_balance_channel.rs | 3 +- gstreamer-video/src/auto/enums.rs | 1 + gstreamer-video/src/auto/flags.rs | 1 + gstreamer-video/src/auto/navigation.rs | 2 +- gstreamer-video/src/auto/versions.txt | 2 +- gstreamer-video/src/auto/video_aggregator.rs | 1 + .../src/auto/video_aggregator_convert_pad.rs | 2 +- .../src/auto/video_aggregator_pad.rs | 7 ++- .../video_aggregator_parallel_convert_pad.rs | 2 +- gstreamer-video/src/auto/video_buffer_pool.rs | 1 + gstreamer-video/src/auto/video_decoder.rs | 14 ++--- gstreamer-video/src/auto/video_encoder.rs | 6 +- gstreamer-video/src/auto/video_filter.rs | 2 + gstreamer-video/src/auto/video_orientation.rs | 1 + gstreamer-video/src/auto/video_overlay.rs | 1 + gstreamer-video/src/auto/video_sink.rs | 3 +- gstreamer-video/sys/src/auto/versions.txt | 2 +- gstreamer-webrtc/src/auto/enums.rs | 1 + gstreamer-webrtc/src/auto/versions.txt | 2 +- .../src/auto/web_rtc_data_channel.rs | 26 ++++----- .../src/auto/web_rtc_session_description.rs | 1 + .../src/auto/web_rtcdtls_transport.rs | 12 ++-- gstreamer-webrtc/src/auto/web_rtcice.rs | 10 ++-- .../src/auto/web_rtcice_candidate_stats.rs | 1 + .../src/auto/web_rtcice_stream.rs | 2 +- .../src/auto/web_rtcice_transport.rs | 10 ++-- .../src/auto/web_rtcrtp_receiver.rs | 3 +- .../src/auto/web_rtcrtp_sender.rs | 5 +- .../src/auto/web_rtcrtp_transceiver.rs | 12 ++-- .../src/auto/web_rtcsctp_transport.rs | 10 ++-- gstreamer-webrtc/sys/src/auto/versions.txt | 2 +- gstreamer/src/auto/allocator.rs | 2 +- gstreamer/src/auto/bin.rs | 14 ++--- gstreamer/src/auto/buffer_pool.rs | 2 +- gstreamer/src/auto/bus.rs | 6 +- gstreamer/src/auto/child_proxy.rs | 5 +- gstreamer/src/auto/clock.rs | 10 ++-- gstreamer/src/auto/control_binding.rs | 2 +- gstreamer/src/auto/control_source.rs | 2 +- gstreamer/src/auto/date_time.rs | 1 + gstreamer/src/auto/device.rs | 4 +- gstreamer/src/auto/device_monitor.rs | 4 +- gstreamer/src/auto/device_provider.rs | 6 +- gstreamer/src/auto/device_provider_factory.rs | 2 +- gstreamer/src/auto/element.rs | 10 ++-- gstreamer/src/auto/element_factory.rs | 2 +- gstreamer/src/auto/enums.rs | 2 +- gstreamer/src/auto/flags.rs | 1 + gstreamer/src/auto/functions.rs | 2 +- gstreamer/src/auto/ghost_pad.rs | 2 +- gstreamer/src/auto/object.rs | 4 +- gstreamer/src/auto/pad.rs | 10 ++-- gstreamer/src/auto/pad_template.rs | 4 +- gstreamer/src/auto/pipeline.rs | 8 +-- gstreamer/src/auto/plugin.rs | 2 +- gstreamer/src/auto/plugin_feature.rs | 2 +- gstreamer/src/auto/preset.rs | 1 + gstreamer/src/auto/proxy_pad.rs | 2 +- gstreamer/src/auto/registry.rs | 6 +- gstreamer/src/auto/stream.rs | 10 ++-- gstreamer/src/auto/stream_collection.rs | 2 +- gstreamer/src/auto/system_clock.rs | 4 +- gstreamer/src/auto/tag_setter.rs | 2 +- gstreamer/src/auto/task.rs | 2 +- gstreamer/src/auto/task_pool.rs | 2 +- gstreamer/src/auto/toc_setter.rs | 2 +- gstreamer/src/auto/tracer.rs | 4 +- gstreamer/src/auto/tracer_factory.rs | 2 +- gstreamer/src/auto/type_find_factory.rs | 2 +- gstreamer/src/auto/uri_handler.rs | 2 +- gstreamer/src/auto/versions.txt | 2 +- gstreamer/sys/src/auto/versions.txt | 2 +- 336 files changed, 867 insertions(+), 757 deletions(-) diff --git a/gstreamer-allocators/src/auto/constants.rs b/gstreamer-allocators/src/auto/constants.rs index 77b762c6e..16d294cfd 100644 --- a/gstreamer-allocators/src/auto/constants.rs +++ b/gstreamer-allocators/src/auto/constants.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::GStr; #[doc(alias = "GST_ALLOCATOR_DMABUF")] diff --git a/gstreamer-allocators/src/auto/dma_buf_allocator.rs b/gstreamer-allocators/src/auto/dma_buf_allocator.rs index 5d257bb0a..f1ad5f716 100644 --- a/gstreamer-allocators/src/auto/dma_buf_allocator.rs +++ b/gstreamer-allocators/src/auto/dma_buf_allocator.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::FdAllocator; +use crate::{ffi, FdAllocator}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-allocators/src/auto/drm_dumb_allocator.rs b/gstreamer-allocators/src/auto/drm_dumb_allocator.rs index d20ad3c55..5b0b523db 100644 --- a/gstreamer-allocators/src/auto/drm_dumb_allocator.rs +++ b/gstreamer-allocators/src/auto/drm_dumb_allocator.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-allocators/src/auto/fd_allocator.rs b/gstreamer-allocators/src/auto/fd_allocator.rs index 510a54c74..fad677dec 100644 --- a/gstreamer-allocators/src/auto/fd_allocator.rs +++ b/gstreamer-allocators/src/auto/fd_allocator.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-allocators/src/auto/flags.rs b/gstreamer-allocators/src/auto/flags.rs index 3fc48850d..231ba22ec 100644 --- a/gstreamer-allocators/src/auto/flags.rs +++ b/gstreamer-allocators/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, translate::*}; bitflags! { diff --git a/gstreamer-allocators/src/auto/phys_memory_allocator.rs b/gstreamer-allocators/src/auto/phys_memory_allocator.rs index b96352cfa..7b6878ecf 100644 --- a/gstreamer-allocators/src/auto/phys_memory_allocator.rs +++ b/gstreamer-allocators/src/auto/phys_memory_allocator.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::prelude::*; glib::wrapper! { diff --git a/gstreamer-allocators/src/auto/shm_allocator.rs b/gstreamer-allocators/src/auto/shm_allocator.rs index 5bebd582d..f042cd1c5 100644 --- a/gstreamer-allocators/src/auto/shm_allocator.rs +++ b/gstreamer-allocators/src/auto/shm_allocator.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::FdAllocator; +use crate::{ffi, FdAllocator}; glib::wrapper! { #[doc(alias = "GstShmAllocator")] diff --git a/gstreamer-allocators/src/auto/versions.txt b/gstreamer-allocators/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-allocators/src/auto/versions.txt +++ b/gstreamer-allocators/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-allocators/sys/src/auto/versions.txt b/gstreamer-allocators/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-allocators/sys/src/auto/versions.txt +++ b/gstreamer-allocators/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-analytics/src/auto/flags.rs b/gstreamer-analytics/src/auto/flags.rs index e7cef0c5f..89b9d5e4d 100644 --- a/gstreamer-analytics/src/auto/flags.rs +++ b/gstreamer-analytics/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, translate::*}; bitflags! { diff --git a/gstreamer-analytics/src/auto/versions.txt b/gstreamer-analytics/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-analytics/src/auto/versions.txt +++ b/gstreamer-analytics/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-analytics/sys/src/auto/versions.txt b/gstreamer-analytics/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-analytics/sys/src/auto/versions.txt +++ b/gstreamer-analytics/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index 48429561e..eb3d84a1d 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -233,7 +234,7 @@ impl AppSink { connect_raw( self.as_ptr() as *mut _, b"notify::buffer-list\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffer_list_trampoline:: as *const (), )), Box_::into_raw(f), @@ -259,7 +260,7 @@ impl AppSink { connect_raw( self.as_ptr() as *mut _, b"notify::caps\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_caps_trampoline:: as *const (), )), Box_::into_raw(f), @@ -285,7 +286,7 @@ impl AppSink { connect_raw( self.as_ptr() as *mut _, b"notify::drop\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_drop_trampoline:: as *const (), )), Box_::into_raw(f), @@ -311,7 +312,7 @@ impl AppSink { connect_raw( self.as_ptr() as *mut _, b"notify::eos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_eos_trampoline:: as *const (), )), Box_::into_raw(f), @@ -339,7 +340,7 @@ impl AppSink { connect_raw( self.as_ptr() as *mut _, b"notify::max-buffers\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_buffers_trampoline:: as *const (), )), Box_::into_raw(f), @@ -369,7 +370,7 @@ impl AppSink { connect_raw( self.as_ptr() as *mut _, b"notify::max-bytes\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_bytes_trampoline:: as *const (), )), Box_::into_raw(f), @@ -397,7 +398,7 @@ impl AppSink { connect_raw( self.as_ptr() as *mut _, b"notify::max-time\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_time_trampoline:: as *const (), )), Box_::into_raw(f), @@ -425,7 +426,7 @@ impl AppSink { connect_raw( self.as_ptr() as *mut _, b"notify::wait-on-eos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wait_on_eos_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index 2c28a8873..68262ff81 100644 --- a/gstreamer-app/src/auto/app_src.rs +++ b/gstreamer-app/src/auto/app_src.rs @@ -6,7 +6,7 @@ #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] use crate::AppLeakyType; -use crate::AppStreamType; +use crate::{ffi, AppStreamType}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -297,7 +297,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::block\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_block_trampoline:: as *const (), )), Box_::into_raw(f), @@ -323,7 +323,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::caps\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_caps_trampoline:: as *const (), )), Box_::into_raw(f), @@ -353,7 +353,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::current-level-buffers\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_level_buffers_trampoline:: as *const (), )), Box_::into_raw(f), @@ -381,7 +381,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::current-level-bytes\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_level_bytes_trampoline:: as *const (), )), Box_::into_raw(f), @@ -411,7 +411,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::current-level-time\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_level_time_trampoline:: as *const (), )), Box_::into_raw(f), @@ -437,7 +437,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::duration\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_duration_trampoline:: as *const (), )), Box_::into_raw(f), @@ -463,7 +463,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::format\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_format_trampoline:: as *const (), )), Box_::into_raw(f), @@ -493,7 +493,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::handle-segment-change\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_handle_segment_change_trampoline:: as *const (), )), Box_::into_raw(f), @@ -519,7 +519,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::is-live\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_live_trampoline:: as *const (), )), Box_::into_raw(f), @@ -549,7 +549,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::leaky-type\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_leaky_type_trampoline:: as *const (), )), Box_::into_raw(f), @@ -579,7 +579,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::max-buffers\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_buffers_trampoline:: as *const (), )), Box_::into_raw(f), @@ -605,7 +605,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::max-bytes\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_bytes_trampoline:: as *const (), )), Box_::into_raw(f), @@ -633,7 +633,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::max-latency\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_latency_trampoline:: as *const (), )), Box_::into_raw(f), @@ -661,7 +661,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::max-time\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_time_trampoline:: as *const (), )), Box_::into_raw(f), @@ -689,7 +689,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::min-latency\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_latency_trampoline:: as *const (), )), Box_::into_raw(f), @@ -717,7 +717,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::min-percent\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_percent_trampoline:: as *const (), )), Box_::into_raw(f), @@ -743,7 +743,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::size\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_size_trampoline:: as *const (), )), Box_::into_raw(f), @@ -771,7 +771,7 @@ impl AppSrc { connect_raw( self.as_ptr() as *mut _, b"notify::stream-type\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stream_type_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-app/src/auto/enums.rs b/gstreamer-app/src/auto/enums.rs index 8299852ba..585e76bd5 100644 --- a/gstreamer-app/src/auto/enums.rs +++ b/gstreamer-app/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; #[cfg(feature = "v1_20")] diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-app/src/auto/versions.txt +++ b/gstreamer-app/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-app/sys/src/auto/versions.txt b/gstreamer-app/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-app/sys/src/auto/versions.txt +++ b/gstreamer-app/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-audio/src/auto/audio_aggregator.rs b/gstreamer-audio/src/auto/audio_aggregator.rs index e9421abf2..711004d4f 100644 --- a/gstreamer-audio/src/auto/audio_aggregator.rs +++ b/gstreamer-audio/src/auto/audio_aggregator.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -87,7 +88,7 @@ pub trait AudioAggregatorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::alignment-threshold\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_alignment_threshold_trampoline:: as *const (), )), Box_::into_raw(f), @@ -116,7 +117,7 @@ pub trait AudioAggregatorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::discont-wait\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_discont_wait_trampoline:: as *const (), )), Box_::into_raw(f), @@ -145,7 +146,7 @@ pub trait AudioAggregatorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::output-buffer-duration\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_output_buffer_duration_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-audio/src/auto/audio_aggregator_convert_pad.rs b/gstreamer-audio/src/auto/audio_aggregator_convert_pad.rs index aaebed6e5..1860aa048 100644 --- a/gstreamer-audio/src/auto/audio_aggregator_convert_pad.rs +++ b/gstreamer-audio/src/auto/audio_aggregator_convert_pad.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::AudioAggregatorPad; +use crate::{ffi, AudioAggregatorPad}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -66,7 +66,7 @@ pub trait AudioAggregatorConvertPadExt: connect_raw( self.as_ptr() as *mut _, b"notify::converter-config\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_converter_config_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-audio/src/auto/audio_aggregator_pad.rs b/gstreamer-audio/src/auto/audio_aggregator_pad.rs index 3e941a393..30a2b7dc3 100644 --- a/gstreamer-audio/src/auto/audio_aggregator_pad.rs +++ b/gstreamer-audio/src/auto/audio_aggregator_pad.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::prelude::*; #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] @@ -73,7 +74,7 @@ pub trait AudioAggregatorPadExt: IsA + sealed::Sealed + 'sta connect_raw( self.as_ptr() as *mut _, b"notify::qos-messages\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_qos_messages_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-audio/src/auto/audio_base_sink.rs b/gstreamer-audio/src/auto/audio_base_sink.rs index 329080063..90ec7f60c 100644 --- a/gstreamer-audio/src/auto/audio_base_sink.rs +++ b/gstreamer-audio/src/auto/audio_base_sink.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -189,7 +190,7 @@ pub trait AudioBaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::alignment-threshold\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_alignment_threshold_trampoline:: as *const (), )), Box_::into_raw(f), @@ -218,7 +219,7 @@ pub trait AudioBaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::buffer-time\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffer_time_trampoline:: as *const (), )), Box_::into_raw(f), @@ -247,7 +248,7 @@ pub trait AudioBaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::can-activate-pull\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_can_activate_pull_trampoline:: as *const (), )), Box_::into_raw(f), @@ -276,7 +277,7 @@ pub trait AudioBaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::discont-wait\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_discont_wait_trampoline:: as *const (), )), Box_::into_raw(f), @@ -305,7 +306,7 @@ pub trait AudioBaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::drift-tolerance\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_drift_tolerance_trampoline:: as *const (), )), Box_::into_raw(f), @@ -334,7 +335,7 @@ pub trait AudioBaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::latency-time\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_latency_time_trampoline:: as *const (), )), Box_::into_raw(f), @@ -363,7 +364,7 @@ pub trait AudioBaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::provide-clock\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_provide_clock_trampoline:: as *const (), )), Box_::into_raw(f), @@ -392,7 +393,7 @@ pub trait AudioBaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::slave-method\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_slave_method_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-audio/src/auto/audio_base_src.rs b/gstreamer-audio/src/auto/audio_base_src.rs index fe1c2ae7d..1e796c29e 100644 --- a/gstreamer-audio/src/auto/audio_base_src.rs +++ b/gstreamer-audio/src/auto/audio_base_src.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -119,7 +120,7 @@ pub trait AudioBaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::actual-buffer-time\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_actual_buffer_time_trampoline:: as *const (), )), Box_::into_raw(f), @@ -148,7 +149,7 @@ pub trait AudioBaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::actual-latency-time\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_actual_latency_time_trampoline:: as *const (), )), Box_::into_raw(f), @@ -177,7 +178,7 @@ pub trait AudioBaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::buffer-time\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffer_time_trampoline:: as *const (), )), Box_::into_raw(f), @@ -206,7 +207,7 @@ pub trait AudioBaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::latency-time\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_latency_time_trampoline:: as *const (), )), Box_::into_raw(f), @@ -235,7 +236,7 @@ pub trait AudioBaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::provide-clock\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_provide_clock_trampoline:: as *const (), )), Box_::into_raw(f), @@ -264,7 +265,7 @@ pub trait AudioBaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::slave-method\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_slave_method_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-audio/src/auto/audio_decoder.rs b/gstreamer-audio/src/auto/audio_decoder.rs index b1136e0c2..58e13e252 100644 --- a/gstreamer-audio/src/auto/audio_decoder.rs +++ b/gstreamer-audio/src/auto/audio_decoder.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::AudioInfo; +use crate::{ffi, AudioInfo}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -336,7 +336,7 @@ pub trait AudioDecoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::max-errors\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_errors_trampoline:: as *const (), )), Box_::into_raw(f), @@ -365,7 +365,7 @@ pub trait AudioDecoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::min-latency\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_latency_trampoline:: as *const (), )), Box_::into_raw(f), @@ -391,7 +391,7 @@ pub trait AudioDecoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::plc\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_plc_trampoline:: as *const (), )), Box_::into_raw(f), @@ -420,7 +420,7 @@ pub trait AudioDecoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::tolerance\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tolerance_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-audio/src/auto/audio_encoder.rs b/gstreamer-audio/src/auto/audio_encoder.rs index 358f62f8f..99d6a8a61 100644 --- a/gstreamer-audio/src/auto/audio_encoder.rs +++ b/gstreamer-audio/src/auto/audio_encoder.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::AudioInfo; +use crate::{ffi, AudioInfo}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -323,7 +323,7 @@ pub trait AudioEncoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::hard-resync\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hard_resync_trampoline:: as *const (), )), Box_::into_raw(f), @@ -352,7 +352,7 @@ pub trait AudioEncoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::mark-granule\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mark_granule_trampoline:: as *const (), )), Box_::into_raw(f), @@ -381,7 +381,7 @@ pub trait AudioEncoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::perfect-timestamp\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_perfect_timestamp_trampoline:: as *const (), )), Box_::into_raw(f), @@ -410,7 +410,7 @@ pub trait AudioEncoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::tolerance\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tolerance_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-audio/src/auto/audio_filter.rs b/gstreamer-audio/src/auto/audio_filter.rs index 06b1cf230..8015bf043 100644 --- a/gstreamer-audio/src/auto/audio_filter.rs +++ b/gstreamer-audio/src/auto/audio_filter.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GstAudioFilter")] pub struct AudioFilter(Object) @extends gst_base::BaseTransform, gst::Element, gst::Object; diff --git a/gstreamer-audio/src/auto/audio_sink.rs b/gstreamer-audio/src/auto/audio_sink.rs index e9a6e250f..71f9bdca7 100644 --- a/gstreamer-audio/src/auto/audio_sink.rs +++ b/gstreamer-audio/src/auto/audio_sink.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::AudioBaseSink; +use crate::{ffi, AudioBaseSink}; glib::wrapper! { #[doc(alias = "GstAudioSink")] diff --git a/gstreamer-audio/src/auto/audio_src.rs b/gstreamer-audio/src/auto/audio_src.rs index d487d1cf8..357165e65 100644 --- a/gstreamer-audio/src/auto/audio_src.rs +++ b/gstreamer-audio/src/auto/audio_src.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::AudioBaseSrc; +use crate::{ffi, AudioBaseSrc}; glib::wrapper! { #[doc(alias = "GstAudioSrc")] diff --git a/gstreamer-audio/src/auto/audio_stream_align.rs b/gstreamer-audio/src/auto/audio_stream_align.rs index 0e490e90a..3dff0c91d 100644 --- a/gstreamer-audio/src/auto/audio_stream_align.rs +++ b/gstreamer-audio/src/auto/audio_stream_align.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-audio/src/auto/enums.rs b/gstreamer-audio/src/auto/enums.rs index 19549dd94..032ee7714 100644 --- a/gstreamer-audio/src/auto/enums.rs +++ b/gstreamer-audio/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gstreamer-audio/src/auto/flags.rs b/gstreamer-audio/src/auto/flags.rs index 91d0dbb43..7b147e81f 100644 --- a/gstreamer-audio/src/auto/flags.rs +++ b/gstreamer-audio/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*}; bitflags! { diff --git a/gstreamer-audio/src/auto/stream_volume.rs b/gstreamer-audio/src/auto/stream_volume.rs index 5286d9877..0e5900e08 100644 --- a/gstreamer-audio/src/auto/stream_volume.rs +++ b/gstreamer-audio/src/auto/stream_volume.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::StreamVolumeFormat; +use crate::{ffi, StreamVolumeFormat}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -93,7 +93,7 @@ pub trait StreamVolumeExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::mute\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mute_trampoline:: as *const (), )), Box_::into_raw(f), @@ -119,7 +119,7 @@ pub trait StreamVolumeExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::volume\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_volume_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-audio/src/auto/versions.txt +++ b/gstreamer-audio/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-audio/sys/src/auto/versions.txt b/gstreamer-audio/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-audio/sys/src/auto/versions.txt +++ b/gstreamer-audio/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-base/src/auto/adapter.rs b/gstreamer-base/src/auto/adapter.rs index 21d54958c..cce7401b6 100644 --- a/gstreamer-base/src/auto/adapter.rs +++ b/gstreamer-base/src/auto/adapter.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-base/src/auto/aggregator.rs b/gstreamer-base/src/auto/aggregator.rs index 3a6b70dd0..86a9b43ae 100644 --- a/gstreamer-base/src/auto/aggregator.rs +++ b/gstreamer-base/src/auto/aggregator.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use crate::{AggregatorPad, AggregatorStartTimeSelection}; @@ -245,7 +246,7 @@ pub trait AggregatorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::emit-signals\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_emit_signals_trampoline:: as *const (), )), Box_::into_raw(f), @@ -274,7 +275,7 @@ pub trait AggregatorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::latency\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_latency_trampoline:: as *const (), )), Box_::into_raw(f), @@ -303,7 +304,7 @@ pub trait AggregatorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::start-time\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_start_time_trampoline:: as *const (), )), Box_::into_raw(f), @@ -334,7 +335,7 @@ pub trait AggregatorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::start-time-selection\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_start_time_selection_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-base/src/auto/aggregator_pad.rs b/gstreamer-base/src/auto/aggregator_pad.rs index 18821bcc3..bcef4923a 100644 --- a/gstreamer-base/src/auto/aggregator_pad.rs +++ b/gstreamer-base/src/auto/aggregator_pad.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -128,7 +129,7 @@ pub trait AggregatorPadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"buffer-consumed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( buffer_consumed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -159,7 +160,7 @@ pub trait AggregatorPadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::emit-signals\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_emit_signals_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-base/src/auto/base_parse.rs b/gstreamer-base/src/auto/base_parse.rs index 639d47777..4fa27417a 100644 --- a/gstreamer-base/src/auto/base_parse.rs +++ b/gstreamer-base/src/auto/base_parse.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -174,7 +175,7 @@ pub trait BaseParseExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::disable-passthrough\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_disable_passthrough_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-base/src/auto/base_sink.rs b/gstreamer-base/src/auto/base_sink.rs index 21013b128..726fde3ce 100644 --- a/gstreamer-base/src/auto/base_sink.rs +++ b/gstreamer-base/src/auto/base_sink.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -297,7 +298,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::async\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_async_trampoline:: as *const (), )), Box_::into_raw(f), @@ -326,7 +327,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::blocksize\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_blocksize_trampoline:: as *const (), )), Box_::into_raw(f), @@ -355,7 +356,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::enable-last-sample\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_last_sample_trampoline:: as *const (), )), Box_::into_raw(f), @@ -384,7 +385,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::last-sample\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_last_sample_trampoline:: as *const (), )), Box_::into_raw(f), @@ -413,7 +414,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::max-bitrate\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_bitrate_trampoline:: as *const (), )), Box_::into_raw(f), @@ -442,7 +443,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::max-lateness\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_lateness_trampoline:: as *const (), )), Box_::into_raw(f), @@ -473,7 +474,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::processing-deadline\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_processing_deadline_trampoline:: as *const (), )), Box_::into_raw(f), @@ -499,7 +500,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::qos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_qos_trampoline:: as *const (), )), Box_::into_raw(f), @@ -528,7 +529,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::render-delay\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_render_delay_trampoline:: as *const (), )), Box_::into_raw(f), @@ -556,7 +557,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::stats\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stats_trampoline:: as *const (), )), Box_::into_raw(f), @@ -582,7 +583,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::sync\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sync_trampoline:: as *const (), )), Box_::into_raw(f), @@ -611,7 +612,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::throttle-time\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_throttle_time_trampoline:: as *const (), )), Box_::into_raw(f), @@ -640,7 +641,7 @@ pub trait BaseSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::ts-offset\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ts_offset_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index c0b8fea33..84e090901 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -4,6 +4,7 @@ // DO NOT EDIT #![allow(deprecated)] +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -254,7 +255,7 @@ pub trait BaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::automatic-eos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_automatic_eos_trampoline:: as *const (), )), Box_::into_raw(f), @@ -283,7 +284,7 @@ pub trait BaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::blocksize\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_blocksize_trampoline:: as *const (), )), Box_::into_raw(f), @@ -312,7 +313,7 @@ pub trait BaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::do-timestamp\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_do_timestamp_trampoline:: as *const (), )), Box_::into_raw(f), @@ -341,7 +342,7 @@ pub trait BaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::num-buffers\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_num_buffers_trampoline:: as *const (), )), Box_::into_raw(f), @@ -370,7 +371,7 @@ pub trait BaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::typefind\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_typefind_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-base/src/auto/base_transform.rs b/gstreamer-base/src/auto/base_transform.rs index e42f26d63..08df3e435 100644 --- a/gstreamer-base/src/auto/base_transform.rs +++ b/gstreamer-base/src/auto/base_transform.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -176,7 +177,7 @@ pub trait BaseTransformExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::qos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_qos_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-base/src/auto/enums.rs b/gstreamer-base/src/auto/enums.rs index 17994327e..2691816a4 100644 --- a/gstreamer-base/src/auto/enums.rs +++ b/gstreamer-base/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use glib::{prelude::*, translate::*}; diff --git a/gstreamer-base/src/auto/flags.rs b/gstreamer-base/src/auto/flags.rs index ff3ba75ea..64096c594 100644 --- a/gstreamer-base/src/auto/flags.rs +++ b/gstreamer-base/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, translate::*}; bitflags! { diff --git a/gstreamer-base/src/auto/functions.rs b/gstreamer-base/src/auto/functions.rs index 7e05b4dc9..81f8b2d6b 100644 --- a/gstreamer-base/src/auto/functions.rs +++ b/gstreamer-base/src/auto/functions.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; #[doc(alias = "gst_type_find_helper")] diff --git a/gstreamer-base/src/auto/push_src.rs b/gstreamer-base/src/auto/push_src.rs index 6e9edd0a4..f90e5b40e 100644 --- a/gstreamer-base/src/auto/push_src.rs +++ b/gstreamer-base/src/auto/push_src.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::BaseSrc; +use crate::{ffi, BaseSrc}; glib::wrapper! { #[doc(alias = "GstPushSrc")] diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-base/src/auto/versions.txt +++ b/gstreamer-base/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-base/sys/src/auto/versions.txt b/gstreamer-base/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-base/sys/src/auto/versions.txt +++ b/gstreamer-base/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-check/src/auto/test_clock.rs b/gstreamer-check/src/auto/test_clock.rs index 4988d03e1..d6fb23085 100644 --- a/gstreamer-check/src/auto/test_clock.rs +++ b/gstreamer-check/src/auto/test_clock.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -119,7 +120,7 @@ impl TestClock { connect_raw( self.as_ptr() as *mut _, b"notify::clock-type\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_clock_type_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-check/src/auto/versions.txt +++ b/gstreamer-check/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-check/sys/src/auto/versions.txt b/gstreamer-check/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-check/sys/src/auto/versions.txt +++ b/gstreamer-check/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-controller/src/auto/argb_control_binding.rs b/gstreamer-controller/src/auto/argb_control_binding.rs index e4465926d..b36a26586 100644 --- a/gstreamer-controller/src/auto/argb_control_binding.rs +++ b/gstreamer-controller/src/auto/argb_control_binding.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -116,7 +117,7 @@ pub trait ARGBControlBindingExt: IsA + sealed::Sealed + 'sta connect_raw( self.as_ptr() as *mut _, b"notify::control-source-a\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_control_source_a_trampoline:: as *const (), )), Box_::into_raw(f), @@ -145,7 +146,7 @@ pub trait ARGBControlBindingExt: IsA + sealed::Sealed + 'sta connect_raw( self.as_ptr() as *mut _, b"notify::control-source-b\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_control_source_b_trampoline:: as *const (), )), Box_::into_raw(f), @@ -174,7 +175,7 @@ pub trait ARGBControlBindingExt: IsA + sealed::Sealed + 'sta connect_raw( self.as_ptr() as *mut _, b"notify::control-source-g\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_control_source_g_trampoline:: as *const (), )), Box_::into_raw(f), @@ -203,7 +204,7 @@ pub trait ARGBControlBindingExt: IsA + sealed::Sealed + 'sta connect_raw( self.as_ptr() as *mut _, b"notify::control-source-r\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_control_source_r_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-controller/src/auto/direct_control_binding.rs b/gstreamer-controller/src/auto/direct_control_binding.rs index 8a1be2292..3d8c4b1a2 100644 --- a/gstreamer-controller/src/auto/direct_control_binding.rs +++ b/gstreamer-controller/src/auto/direct_control_binding.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -101,7 +102,7 @@ pub trait DirectControlBindingExt: IsA + sealed::Sealed + connect_raw( self.as_ptr() as *mut _, b"notify::control-source\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_control_source_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-controller/src/auto/enums.rs b/gstreamer-controller/src/auto/enums.rs index e68b0ccb7..3b6036d6c 100644 --- a/gstreamer-controller/src/auto/enums.rs +++ b/gstreamer-controller/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gstreamer-controller/src/auto/interpolation_control_source.rs b/gstreamer-controller/src/auto/interpolation_control_source.rs index 86ce323eb..04223a81f 100644 --- a/gstreamer-controller/src/auto/interpolation_control_source.rs +++ b/gstreamer-controller/src/auto/interpolation_control_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{InterpolationMode, TimedValueControlSource}; +use crate::{ffi, InterpolationMode, TimedValueControlSource}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -76,7 +76,7 @@ pub trait InterpolationControlSourceExt: connect_raw( self.as_ptr() as *mut _, b"notify::mode\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mode_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-controller/src/auto/lfo_control_source.rs b/gstreamer-controller/src/auto/lfo_control_source.rs index 647051337..84fe62fae 100644 --- a/gstreamer-controller/src/auto/lfo_control_source.rs +++ b/gstreamer-controller/src/auto/lfo_control_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::LFOWaveform; +use crate::{ffi, LFOWaveform}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -108,7 +108,7 @@ pub trait LFOControlSourceExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::amplitude\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_amplitude_trampoline:: as *const (), )), Box_::into_raw(f), @@ -137,7 +137,7 @@ pub trait LFOControlSourceExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::frequency\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_frequency_trampoline:: as *const (), )), Box_::into_raw(f), @@ -163,7 +163,7 @@ pub trait LFOControlSourceExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::offset\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_offset_trampoline:: as *const (), )), Box_::into_raw(f), @@ -192,7 +192,7 @@ pub trait LFOControlSourceExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::timeshift\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timeshift_trampoline:: as *const (), )), Box_::into_raw(f), @@ -221,7 +221,7 @@ pub trait LFOControlSourceExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::waveform\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_waveform_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-controller/src/auto/proxy_control_binding.rs b/gstreamer-controller/src/auto/proxy_control_binding.rs index 5847d56f8..1f2312aed 100644 --- a/gstreamer-controller/src/auto/proxy_control_binding.rs +++ b/gstreamer-controller/src/auto/proxy_control_binding.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-controller/src/auto/timed_value_control_source.rs b/gstreamer-controller/src/auto/timed_value_control_source.rs index 65c3f40ba..922083d88 100644 --- a/gstreamer-controller/src/auto/timed_value_control_source.rs +++ b/gstreamer-controller/src/auto/timed_value_control_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::ControlPoint; +use crate::{ffi, ControlPoint}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -109,7 +109,7 @@ pub trait TimedValueControlSourceExt: connect_raw( self.as_ptr() as *mut _, b"value-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( value_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -141,7 +141,7 @@ pub trait TimedValueControlSourceExt: connect_raw( self.as_ptr() as *mut _, b"value-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( value_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -173,7 +173,7 @@ pub trait TimedValueControlSourceExt: connect_raw( self.as_ptr() as *mut _, b"value-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( value_removed_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-controller/src/auto/trigger_control_source.rs b/gstreamer-controller/src/auto/trigger_control_source.rs index 2d3fce45f..9565accf0 100644 --- a/gstreamer-controller/src/auto/trigger_control_source.rs +++ b/gstreamer-controller/src/auto/trigger_control_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::TimedValueControlSource; +use crate::{ffi, TimedValueControlSource}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -76,7 +76,7 @@ pub trait TriggerControlSourceExt: IsA + sealed::Sealed + connect_raw( self.as_ptr() as *mut _, b"notify::tolerance\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tolerance_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-controller/src/auto/versions.txt +++ b/gstreamer-controller/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-controller/sys/src/auto/versions.txt b/gstreamer-controller/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-controller/sys/src/auto/versions.txt +++ b/gstreamer-controller/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-editing-services/src/auto/asset.rs b/gstreamer-editing-services/src/auto/asset.rs index 957279d1f..078fccc36 100644 --- a/gstreamer-editing-services/src/auto/asset.rs +++ b/gstreamer-editing-services/src/auto/asset.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, MetaContainer}; +use crate::{ffi, Extractable, MetaContainer}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -241,7 +241,7 @@ pub trait AssetExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::proxy\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_proxy_trampoline:: as *const (), )), Box_::into_raw(f), @@ -270,7 +270,7 @@ pub trait AssetExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::proxy-target\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_proxy_target_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/audio_source.rs b/gstreamer-editing-services/src/auto/audio_source.rs index 081543383..b2e8193ed 100644 --- a/gstreamer-editing-services/src/auto/audio_source.rs +++ b/gstreamer-editing-services/src/auto/audio_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, MetaContainer, Source, TimelineElement, TrackElement}; +use crate::{ffi, Extractable, MetaContainer, Source, TimelineElement, TrackElement}; glib::wrapper! { #[doc(alias = "GESAudioSource")] diff --git a/gstreamer-editing-services/src/auto/audio_test_source.rs b/gstreamer-editing-services/src/auto/audio_test_source.rs index 91e86002c..e948b486c 100644 --- a/gstreamer-editing-services/src/auto/audio_test_source.rs +++ b/gstreamer-editing-services/src/auto/audio_test_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{AudioSource, Extractable, MetaContainer, Source, TimelineElement, TrackElement}; +use crate::{ffi, AudioSource, Extractable, MetaContainer, Source, TimelineElement, TrackElement}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/audio_track.rs b/gstreamer-editing-services/src/auto/audio_track.rs index 2b703a58b..3a9bf2af7 100644 --- a/gstreamer-editing-services/src/auto/audio_track.rs +++ b/gstreamer-editing-services/src/auto/audio_track.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{MetaContainer, Track}; +use crate::{ffi, MetaContainer, Track}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/audio_transition.rs b/gstreamer-editing-services/src/auto/audio_transition.rs index 6868ba18c..299880865 100644 --- a/gstreamer-editing-services/src/auto/audio_transition.rs +++ b/gstreamer-editing-services/src/auto/audio_transition.rs @@ -4,7 +4,9 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Extractable, MetaContainer, Operation, TimelineElement, TrackElement, Transition}; +use crate::{ + ffi, Extractable, MetaContainer, Operation, TimelineElement, TrackElement, Transition, +}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/audio_uri_source.rs b/gstreamer-editing-services/src/auto/audio_uri_source.rs index 4832e4a76..d225a4855 100644 --- a/gstreamer-editing-services/src/auto/audio_uri_source.rs +++ b/gstreamer-editing-services/src/auto/audio_uri_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{AudioSource, Extractable, MetaContainer, Source, TimelineElement, TrackElement}; +use crate::{ffi, AudioSource, Extractable, MetaContainer, Source, TimelineElement, TrackElement}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/base_effect.rs b/gstreamer-editing-services/src/auto/base_effect.rs index 0758a3f2f..7eb9090a7 100644 --- a/gstreamer-editing-services/src/auto/base_effect.rs +++ b/gstreamer-editing-services/src/auto/base_effect.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, MetaContainer, Operation, TimelineElement, TrackElement}; +use crate::{ffi, Extractable, MetaContainer, Operation, TimelineElement, TrackElement}; use glib::prelude::*; #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] diff --git a/gstreamer-editing-services/src/auto/base_effect_clip.rs b/gstreamer-editing-services/src/auto/base_effect_clip.rs index aaff3829a..82ad1b653 100644 --- a/gstreamer-editing-services/src/auto/base_effect_clip.rs +++ b/gstreamer-editing-services/src/auto/base_effect_clip.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement}; +use crate::{ffi, Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement}; glib::wrapper! { #[doc(alias = "GESBaseEffectClip")] diff --git a/gstreamer-editing-services/src/auto/base_transition_clip.rs b/gstreamer-editing-services/src/auto/base_transition_clip.rs index fabd573e4..5bcbd31d1 100644 --- a/gstreamer-editing-services/src/auto/base_transition_clip.rs +++ b/gstreamer-editing-services/src/auto/base_transition_clip.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement}; +use crate::{ffi, Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement}; glib::wrapper! { #[doc(alias = "GESBaseTransitionClip")] diff --git a/gstreamer-editing-services/src/auto/base_xml_formatter.rs b/gstreamer-editing-services/src/auto/base_xml_formatter.rs index 4b93395d5..401c9864b 100644 --- a/gstreamer-editing-services/src/auto/base_xml_formatter.rs +++ b/gstreamer-editing-services/src/auto/base_xml_formatter.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, Formatter}; +use crate::{ffi, Extractable, Formatter}; glib::wrapper! { #[doc(alias = "GESBaseXmlFormatter")] diff --git a/gstreamer-editing-services/src/auto/clip.rs b/gstreamer-editing-services/src/auto/clip.rs index 4af1d185f..510f765ce 100644 --- a/gstreamer-editing-services/src/auto/clip.rs +++ b/gstreamer-editing-services/src/auto/clip.rs @@ -7,7 +7,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use crate::FrameNumber; use crate::{ - Asset, BaseEffect, Container, Extractable, Layer, MetaContainer, TimelineElement, Track, + ffi, Asset, BaseEffect, Container, Extractable, Layer, MetaContainer, TimelineElement, Track, TrackElement, TrackType, }; use glib::{ @@ -426,7 +426,7 @@ pub trait ClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::duration-limit\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_duration_limit_trampoline:: as *const (), )), Box_::into_raw(f), @@ -449,7 +449,7 @@ pub trait ClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::layer\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_layer_trampoline:: as *const (), )), Box_::into_raw(f), @@ -475,7 +475,7 @@ pub trait ClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::supported-formats\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_supported_formats_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/clip_asset.rs b/gstreamer-editing-services/src/auto/clip_asset.rs index 6c1f5b0b0..1df7a0db0 100644 --- a/gstreamer-editing-services/src/auto/clip_asset.rs +++ b/gstreamer-editing-services/src/auto/clip_asset.rs @@ -6,7 +6,7 @@ #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use crate::FrameNumber; -use crate::{Asset, MetaContainer, TrackType}; +use crate::{ffi, Asset, MetaContainer, TrackType}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -111,7 +111,7 @@ pub trait ClipAssetExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::supported-formats\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_supported_formats_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/command_line_formatter.rs b/gstreamer-editing-services/src/auto/command_line_formatter.rs index 999800937..d28da1290 100644 --- a/gstreamer-editing-services/src/auto/command_line_formatter.rs +++ b/gstreamer-editing-services/src/auto/command_line_formatter.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, Formatter, Timeline}; +use crate::{ffi, Extractable, Formatter, Timeline}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/container.rs b/gstreamer-editing-services/src/auto/container.rs index 8e163ad81..625888aae 100644 --- a/gstreamer-editing-services/src/auto/container.rs +++ b/gstreamer-editing-services/src/auto/container.rs @@ -4,7 +4,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Edge, EditMode, Extractable, Layer, MetaContainer, TimelineElement}; +use crate::{ffi, Edge, EditMode, Extractable, Layer, MetaContainer, TimelineElement}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -138,7 +138,7 @@ pub trait GESContainerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"child-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( child_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -170,7 +170,7 @@ pub trait GESContainerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"child-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( child_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -193,7 +193,7 @@ pub trait GESContainerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::height\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/discoverer_manager.rs b/gstreamer-editing-services/src/auto/discoverer_manager.rs index 12c61caf7..4d51cf029 100644 --- a/gstreamer-editing-services/src/auto/discoverer_manager.rs +++ b/gstreamer-editing-services/src/auto/discoverer_manager.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -106,7 +107,7 @@ impl DiscovererManager { connect_raw( self.as_ptr() as *mut _, b"discovered\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( discovered_trampoline:: as *const (), )), Box_::into_raw(f), @@ -142,7 +143,7 @@ impl DiscovererManager { connect_raw( self.as_ptr() as *mut _, b"load-serialized-info\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( load_serialized_info_trampoline:: as *const (), )), Box_::into_raw(f), @@ -172,7 +173,7 @@ impl DiscovererManager { connect_raw( self.as_ptr() as *mut _, b"source-setup\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( source_setup_trampoline:: as *const (), )), Box_::into_raw(f), @@ -197,7 +198,7 @@ impl DiscovererManager { connect_raw( self.as_ptr() as *mut _, b"notify::timeout\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timeout_trampoline:: as *const (), )), Box_::into_raw(f), @@ -220,7 +221,7 @@ impl DiscovererManager { connect_raw( self.as_ptr() as *mut _, b"notify::use-cache\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_cache_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/effect.rs b/gstreamer-editing-services/src/auto/effect.rs index ef66d275c..440dd576b 100644 --- a/gstreamer-editing-services/src/auto/effect.rs +++ b/gstreamer-editing-services/src/auto/effect.rs @@ -3,7 +3,9 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{BaseEffect, Extractable, MetaContainer, Operation, TimelineElement, TrackElement}; +use crate::{ + ffi, BaseEffect, Extractable, MetaContainer, Operation, TimelineElement, TrackElement, +}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/effect_asset.rs b/gstreamer-editing-services/src/auto/effect_asset.rs index 64bf33d7d..394abda3c 100644 --- a/gstreamer-editing-services/src/auto/effect_asset.rs +++ b/gstreamer-editing-services/src/auto/effect_asset.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Asset, MetaContainer, TrackElementAsset}; +use crate::{ffi, Asset, MetaContainer, TrackElementAsset}; glib::wrapper! { #[doc(alias = "GESEffectAsset")] diff --git a/gstreamer-editing-services/src/auto/effect_clip.rs b/gstreamer-editing-services/src/auto/effect_clip.rs index 6cdc37c4a..cb72b3d90 100644 --- a/gstreamer-editing-services/src/auto/effect_clip.rs +++ b/gstreamer-editing-services/src/auto/effect_clip.rs @@ -4,7 +4,8 @@ // DO NOT EDIT use crate::{ - BaseEffectClip, Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement, + ffi, BaseEffectClip, Clip, Container, Extractable, MetaContainer, OperationClip, + TimelineElement, }; use glib::{prelude::*, translate::*}; diff --git a/gstreamer-editing-services/src/auto/enums.rs b/gstreamer-editing-services/src/auto/enums.rs index 6d474d9d1..6ee667e2a 100644 --- a/gstreamer-editing-services/src/auto/enums.rs +++ b/gstreamer-editing-services/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v1_16")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))] use glib::GStr; diff --git a/gstreamer-editing-services/src/auto/extractable.rs b/gstreamer-editing-services/src/auto/extractable.rs index 906cbf14b..b94158c29 100644 --- a/gstreamer-editing-services/src/auto/extractable.rs +++ b/gstreamer-editing-services/src/auto/extractable.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::Asset; +use crate::{ffi, Asset}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/flags.rs b/gstreamer-editing-services/src/auto/flags.rs index 736dc30e3..ae4366f90 100644 --- a/gstreamer-editing-services/src/auto/flags.rs +++ b/gstreamer-editing-services/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*, GStr}; #[cfg(feature = "v1_20")] diff --git a/gstreamer-editing-services/src/auto/formatter.rs b/gstreamer-editing-services/src/auto/formatter.rs index 65176e65e..ec93b409b 100644 --- a/gstreamer-editing-services/src/auto/formatter.rs +++ b/gstreamer-editing-services/src/auto/formatter.rs @@ -4,7 +4,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Asset, Extractable, Timeline}; +use crate::{ffi, Asset, Extractable, Timeline}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/group.rs b/gstreamer-editing-services/src/auto/group.rs index f6704f8a0..fb99201d3 100644 --- a/gstreamer-editing-services/src/auto/group.rs +++ b/gstreamer-editing-services/src/auto/group.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Container, Extractable, MetaContainer, TimelineElement}; +use crate::{ffi, Container, Extractable, MetaContainer, TimelineElement}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/image_source.rs b/gstreamer-editing-services/src/auto/image_source.rs index 59c12a9d2..344458ad4 100644 --- a/gstreamer-editing-services/src/auto/image_source.rs +++ b/gstreamer-editing-services/src/auto/image_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource}; +use crate::{ffi, Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/layer.rs b/gstreamer-editing-services/src/auto/layer.rs index c16e4551f..ac58c8270 100644 --- a/gstreamer-editing-services/src/auto/layer.rs +++ b/gstreamer-editing-services/src/auto/layer.rs @@ -7,7 +7,7 @@ #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use crate::Track; -use crate::{Asset, Clip, Extractable, MetaContainer, Timeline, TrackType}; +use crate::{ffi, Asset, Clip, Extractable, MetaContainer, Timeline, TrackType}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -286,7 +286,7 @@ pub trait LayerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"clip-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( clip_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -312,7 +312,7 @@ pub trait LayerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"clip-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( clip_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -338,7 +338,7 @@ pub trait LayerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::auto-transition\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_auto_transition_trampoline:: as *const (), )), Box_::into_raw(f), @@ -362,7 +362,7 @@ pub trait LayerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::priority\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_priority_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/marker.rs b/gstreamer-editing-services/src/auto/marker.rs index 33a1a04b1..c41cf1f3c 100644 --- a/gstreamer-editing-services/src/auto/marker.rs +++ b/gstreamer-editing-services/src/auto/marker.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::MetaContainer; +use crate::{ffi, MetaContainer}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -44,7 +44,7 @@ impl Marker { connect_raw( self.as_ptr() as *mut _, b"notify::position\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_position_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/marker_list.rs b/gstreamer-editing-services/src/auto/marker_list.rs index 65ea25b95..2ec21ef82 100644 --- a/gstreamer-editing-services/src/auto/marker_list.rs +++ b/gstreamer-editing-services/src/auto/marker_list.rs @@ -3,10 +3,10 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::Marker; #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] use crate::MarkerFlags; +use crate::{ffi, Marker}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -110,7 +110,7 @@ impl MarkerList { connect_raw( self.as_ptr() as *mut _, b"marker-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( marker_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -147,7 +147,7 @@ impl MarkerList { connect_raw( self.as_ptr() as *mut _, b"marker-moved\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( marker_moved_trampoline:: as *const (), )), Box_::into_raw(f), @@ -172,7 +172,7 @@ impl MarkerList { connect_raw( self.as_ptr() as *mut _, b"marker-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( marker_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -197,7 +197,7 @@ impl MarkerList { connect_raw( self.as_ptr() as *mut _, b"notify::flags\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_flags_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/meta_container.rs b/gstreamer-editing-services/src/auto/meta_container.rs index 5ea96489a..5bf0a60bf 100644 --- a/gstreamer-editing-services/src/auto/meta_container.rs +++ b/gstreamer-editing-services/src/auto/meta_container.rs @@ -6,7 +6,7 @@ #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use crate::MarkerList; -use crate::MetaFlag; +use crate::{ffi, MetaFlag}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -620,7 +620,7 @@ pub trait MetaContainerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, signal_name.as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_meta_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/multi_file_source.rs b/gstreamer-editing-services/src/auto/multi_file_source.rs index 57be37f3c..19bc9cfe7 100644 --- a/gstreamer-editing-services/src/auto/multi_file_source.rs +++ b/gstreamer-editing-services/src/auto/multi_file_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource}; +use crate::{ffi, Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/operation.rs b/gstreamer-editing-services/src/auto/operation.rs index 84bf247f9..62b915a2b 100644 --- a/gstreamer-editing-services/src/auto/operation.rs +++ b/gstreamer-editing-services/src/auto/operation.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, MetaContainer, TimelineElement, TrackElement}; +use crate::{ffi, Extractable, MetaContainer, TimelineElement, TrackElement}; glib::wrapper! { #[doc(alias = "GESOperation")] diff --git a/gstreamer-editing-services/src/auto/operation_clip.rs b/gstreamer-editing-services/src/auto/operation_clip.rs index 1bcb03895..b44ae0b51 100644 --- a/gstreamer-editing-services/src/auto/operation_clip.rs +++ b/gstreamer-editing-services/src/auto/operation_clip.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Clip, Container, Extractable, MetaContainer, TimelineElement}; +use crate::{ffi, Clip, Container, Extractable, MetaContainer, TimelineElement}; glib::wrapper! { #[doc(alias = "GESOperationClip")] diff --git a/gstreamer-editing-services/src/auto/overlay_clip.rs b/gstreamer-editing-services/src/auto/overlay_clip.rs index c958c7c93..9360e334b 100644 --- a/gstreamer-editing-services/src/auto/overlay_clip.rs +++ b/gstreamer-editing-services/src/auto/overlay_clip.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement}; +use crate::{ffi, Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement}; glib::wrapper! { #[doc(alias = "GESOverlayClip")] diff --git a/gstreamer-editing-services/src/auto/pipeline.rs b/gstreamer-editing-services/src/auto/pipeline.rs index 343073bcc..fddd36479 100644 --- a/gstreamer-editing-services/src/auto/pipeline.rs +++ b/gstreamer-editing-services/src/auto/pipeline.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{PipelineFlags, Timeline}; +use crate::{ffi, PipelineFlags, Timeline}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -239,7 +239,7 @@ pub trait GESPipelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::audio-filter\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_audio_filter_trampoline:: as *const (), )), Box_::into_raw(f), @@ -262,7 +262,7 @@ pub trait GESPipelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::audio-sink\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_audio_sink_trampoline:: as *const (), )), Box_::into_raw(f), @@ -285,7 +285,7 @@ pub trait GESPipelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::mode\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mode_trampoline:: as *const (), )), Box_::into_raw(f), @@ -308,7 +308,7 @@ pub trait GESPipelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::timeline\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timeline_trampoline:: as *const (), )), Box_::into_raw(f), @@ -334,7 +334,7 @@ pub trait GESPipelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::video-filter\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_video_filter_trampoline:: as *const (), )), Box_::into_raw(f), @@ -357,7 +357,7 @@ pub trait GESPipelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::video-sink\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_video_sink_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/project.rs b/gstreamer-editing-services/src/auto/project.rs index a6fc7d599..85000b658 100644 --- a/gstreamer-editing-services/src/auto/project.rs +++ b/gstreamer-editing-services/src/auto/project.rs @@ -6,7 +6,7 @@ #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use crate::Formatter; -use crate::{Asset, MetaContainer, Timeline}; +use crate::{ffi, Asset, MetaContainer, Timeline}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -236,7 +236,7 @@ pub trait ProjectExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"asset-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( asset_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -265,7 +265,7 @@ pub trait ProjectExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"asset-loading\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( asset_loading_trampoline:: as *const (), )), Box_::into_raw(f), @@ -294,7 +294,7 @@ pub trait ProjectExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"asset-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( asset_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -330,7 +330,7 @@ pub trait ProjectExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"error-loading\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( error_loading_trampoline:: as *const (), )), Box_::into_raw(f), @@ -368,7 +368,7 @@ pub trait ProjectExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"error-loading-asset\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( error_loading_asset_trampoline:: as *const (), )), Box_::into_raw(f), @@ -394,7 +394,7 @@ pub trait ProjectExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"loaded\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( loaded_trampoline:: as *const (), )), Box_::into_raw(f), @@ -422,7 +422,7 @@ pub trait ProjectExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"loading\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( loading_trampoline:: as *const (), )), Box_::into_raw(f), @@ -459,7 +459,7 @@ pub trait ProjectExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"missing-uri\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( missing_uri_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/source.rs b/gstreamer-editing-services/src/auto/source.rs index da02516c8..08665f832 100644 --- a/gstreamer-editing-services/src/auto/source.rs +++ b/gstreamer-editing-services/src/auto/source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, MetaContainer, TimelineElement, TrackElement}; +use crate::{ffi, Extractable, MetaContainer, TimelineElement, TrackElement}; glib::wrapper! { #[doc(alias = "GESSource")] diff --git a/gstreamer-editing-services/src/auto/source_clip.rs b/gstreamer-editing-services/src/auto/source_clip.rs index f6e18b5ff..4f0e2ea33 100644 --- a/gstreamer-editing-services/src/auto/source_clip.rs +++ b/gstreamer-editing-services/src/auto/source_clip.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Clip, Container, Extractable, MetaContainer, TimelineElement}; +use crate::{ffi, Clip, Container, Extractable, MetaContainer, TimelineElement}; #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use glib::translate::*; diff --git a/gstreamer-editing-services/src/auto/source_clip_asset.rs b/gstreamer-editing-services/src/auto/source_clip_asset.rs index be20926be..22e25aaaf 100644 --- a/gstreamer-editing-services/src/auto/source_clip_asset.rs +++ b/gstreamer-editing-services/src/auto/source_clip_asset.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Asset, ClipAsset, MetaContainer}; +use crate::{ffi, Asset, ClipAsset, MetaContainer}; glib::wrapper! { #[doc(alias = "GESSourceClipAsset")] diff --git a/gstreamer-editing-services/src/auto/test_clip.rs b/gstreamer-editing-services/src/auto/test_clip.rs index adafeacfa..c61595c5b 100644 --- a/gstreamer-editing-services/src/auto/test_clip.rs +++ b/gstreamer-editing-services/src/auto/test_clip.rs @@ -4,7 +4,7 @@ // DO NOT EDIT use crate::{ - Clip, Container, Extractable, MetaContainer, SourceClip, TimelineElement, VideoTestPattern, + ffi, Clip, Container, Extractable, MetaContainer, SourceClip, TimelineElement, VideoTestPattern, }; use glib::{ prelude::*, @@ -123,7 +123,7 @@ pub trait TestClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::freq\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_freq_trampoline:: as *const (), )), Box_::into_raw(f), @@ -146,7 +146,7 @@ pub trait TestClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::mute\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mute_trampoline:: as *const (), )), Box_::into_raw(f), @@ -169,7 +169,7 @@ pub trait TestClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::volume\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_volume_trampoline:: as *const (), )), Box_::into_raw(f), @@ -192,7 +192,7 @@ pub trait TestClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::vpattern\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_vpattern_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/text_overlay.rs b/gstreamer-editing-services/src/auto/text_overlay.rs index c8d80054d..b04fdaa71 100644 --- a/gstreamer-editing-services/src/auto/text_overlay.rs +++ b/gstreamer-editing-services/src/auto/text_overlay.rs @@ -5,7 +5,8 @@ #![allow(deprecated)] use crate::{ - Extractable, MetaContainer, Operation, TextHAlign, TextVAlign, TimelineElement, TrackElement, + ffi, Extractable, MetaContainer, Operation, TextHAlign, TextVAlign, TimelineElement, + TrackElement, }; use glib::{prelude::*, translate::*}; diff --git a/gstreamer-editing-services/src/auto/text_overlay_clip.rs b/gstreamer-editing-services/src/auto/text_overlay_clip.rs index fbce59cf4..e9b125010 100644 --- a/gstreamer-editing-services/src/auto/text_overlay_clip.rs +++ b/gstreamer-editing-services/src/auto/text_overlay_clip.rs @@ -4,7 +4,7 @@ // DO NOT EDIT use crate::{ - Clip, Container, Extractable, MetaContainer, OperationClip, OverlayClip, TextHAlign, + ffi, Clip, Container, Extractable, MetaContainer, OperationClip, OverlayClip, TextHAlign, TextVAlign, TimelineElement, }; use glib::{ @@ -184,7 +184,7 @@ pub trait TextOverlayClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::color\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_color_trampoline:: as *const (), )), Box_::into_raw(f), @@ -210,7 +210,7 @@ pub trait TextOverlayClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::font-desc\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_desc_trampoline:: as *const (), )), Box_::into_raw(f), @@ -236,7 +236,7 @@ pub trait TextOverlayClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::halignment\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_halignment_trampoline:: as *const (), )), Box_::into_raw(f), @@ -262,7 +262,7 @@ pub trait TextOverlayClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::text\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_trampoline:: as *const (), )), Box_::into_raw(f), @@ -288,7 +288,7 @@ pub trait TextOverlayClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::valignment\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_valignment_trampoline:: as *const (), )), Box_::into_raw(f), @@ -314,7 +314,7 @@ pub trait TextOverlayClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::xpos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_xpos_trampoline:: as *const (), )), Box_::into_raw(f), @@ -340,7 +340,7 @@ pub trait TextOverlayClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::ypos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ypos_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/timeline.rs b/gstreamer-editing-services/src/auto/timeline.rs index 0819ce370..2ebcbbefb 100644 --- a/gstreamer-editing-services/src/auto/timeline.rs +++ b/gstreamer-editing-services/src/auto/timeline.rs @@ -5,7 +5,7 @@ #![allow(deprecated)] use crate::{ - Asset, Extractable, Group, Layer, MetaContainer, TimelineElement, Track, TrackElement, + ffi, Asset, Extractable, Group, Layer, MetaContainer, TimelineElement, Track, TrackElement, }; #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] @@ -435,7 +435,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"commited\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( commited_trampoline:: as *const (), )), Box_::into_raw(f), @@ -464,7 +464,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"group-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( group_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -498,7 +498,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"layer-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( layer_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -527,7 +527,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"layer-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( layer_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -566,7 +566,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"select-element-track\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( select_element_track_trampoline:: as *const (), )), Box_::into_raw(f), @@ -607,7 +607,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"snapping-ended\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( snapping_ended_trampoline:: as *const (), )), Box_::into_raw(f), @@ -643,7 +643,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"snapping-started\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( snapping_started_trampoline:: as *const (), )), Box_::into_raw(f), @@ -672,7 +672,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"track-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( track_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -701,7 +701,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"track-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( track_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -727,7 +727,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::auto-transition\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_auto_transition_trampoline:: as *const (), )), Box_::into_raw(f), @@ -750,7 +750,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::duration\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_duration_trampoline:: as *const (), )), Box_::into_raw(f), @@ -776,7 +776,7 @@ pub trait TimelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::snapping-distance\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_snapping_distance_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/timeline_element.rs b/gstreamer-editing-services/src/auto/timeline_element.rs index ee9603141..d6fa7a9f6 100644 --- a/gstreamer-editing-services/src/auto/timeline_element.rs +++ b/gstreamer-editing-services/src/auto/timeline_element.rs @@ -4,10 +4,10 @@ // DO NOT EDIT #![allow(deprecated)] +use crate::{ffi, Extractable, MetaContainer, Timeline, TrackType}; #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use crate::{Edge, EditMode, Layer}; -use crate::{Extractable, MetaContainer, Timeline, TrackType}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -607,7 +607,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"child-property-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( child_property_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -643,7 +643,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"child-property-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( child_property_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -682,7 +682,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, signal_name.as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( deep_notify_trampoline:: as *const (), )), Box_::into_raw(f), @@ -708,7 +708,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::duration\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_duration_trampoline:: as *const (), )), Box_::into_raw(f), @@ -734,7 +734,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::in-point\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_in_point_trampoline:: as *const (), )), Box_::into_raw(f), @@ -760,7 +760,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::max-duration\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_duration_trampoline:: as *const (), )), Box_::into_raw(f), @@ -786,7 +786,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::name\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_name_trampoline:: as *const (), )), Box_::into_raw(f), @@ -812,7 +812,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::parent\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_parent_trampoline:: as *const (), )), Box_::into_raw(f), @@ -839,7 +839,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::priority\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_priority_trampoline:: as *const (), )), Box_::into_raw(f), @@ -865,7 +865,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::serialize\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_serialize_trampoline:: as *const (), )), Box_::into_raw(f), @@ -891,7 +891,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::start\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_start_trampoline:: as *const (), )), Box_::into_raw(f), @@ -917,7 +917,7 @@ pub trait TimelineElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::timeline\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timeline_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/title_clip.rs b/gstreamer-editing-services/src/auto/title_clip.rs index cf482e034..d709c53ee 100644 --- a/gstreamer-editing-services/src/auto/title_clip.rs +++ b/gstreamer-editing-services/src/auto/title_clip.rs @@ -5,7 +5,7 @@ #![allow(deprecated)] use crate::{ - Clip, Container, Extractable, MetaContainer, SourceClip, TextHAlign, TextVAlign, + ffi, Clip, Container, Extractable, MetaContainer, SourceClip, TextHAlign, TextVAlign, TimelineElement, }; use glib::{ @@ -220,7 +220,7 @@ pub trait TitleClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::background\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_background_trampoline:: as *const (), )), Box_::into_raw(f), @@ -244,7 +244,7 @@ pub trait TitleClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::color\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_color_trampoline:: as *const (), )), Box_::into_raw(f), @@ -268,7 +268,7 @@ pub trait TitleClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::font-desc\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_desc_trampoline:: as *const (), )), Box_::into_raw(f), @@ -295,7 +295,7 @@ pub trait TitleClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::halignment\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_halignment_trampoline:: as *const (), )), Box_::into_raw(f), @@ -319,7 +319,7 @@ pub trait TitleClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::text\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_trampoline:: as *const (), )), Box_::into_raw(f), @@ -346,7 +346,7 @@ pub trait TitleClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::valignment\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_valignment_trampoline:: as *const (), )), Box_::into_raw(f), @@ -370,7 +370,7 @@ pub trait TitleClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::xpos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_xpos_trampoline:: as *const (), )), Box_::into_raw(f), @@ -394,7 +394,7 @@ pub trait TitleClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::ypos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ypos_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/title_source.rs b/gstreamer-editing-services/src/auto/title_source.rs index ed35f01af..5fa2e776b 100644 --- a/gstreamer-editing-services/src/auto/title_source.rs +++ b/gstreamer-editing-services/src/auto/title_source.rs @@ -5,7 +5,7 @@ #![allow(deprecated)] use crate::{ - Extractable, MetaContainer, Source, TextHAlign, TextVAlign, TimelineElement, TrackElement, + ffi, Extractable, MetaContainer, Source, TextHAlign, TextVAlign, TimelineElement, TrackElement, VideoSource, }; use glib::{prelude::*, translate::*}; diff --git a/gstreamer-editing-services/src/auto/track.rs b/gstreamer-editing-services/src/auto/track.rs index da06f7aa5..a264e9d4d 100644 --- a/gstreamer-editing-services/src/auto/track.rs +++ b/gstreamer-editing-services/src/auto/track.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{MetaContainer, Timeline, TrackElement, TrackType}; +use crate::{ffi, MetaContainer, Timeline, TrackElement, TrackType}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -232,7 +232,7 @@ pub trait GESTrackExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"commited\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( commited_trampoline:: as *const (), )), Box_::into_raw(f), @@ -264,7 +264,7 @@ pub trait GESTrackExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"track-element-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( track_element_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -296,7 +296,7 @@ pub trait GESTrackExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"track-element-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( track_element_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -319,7 +319,7 @@ pub trait GESTrackExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::duration\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_duration_trampoline:: as *const (), )), Box_::into_raw(f), @@ -344,7 +344,7 @@ pub trait GESTrackExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::id\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_id_trampoline:: as *const (), )), Box_::into_raw(f), @@ -367,7 +367,7 @@ pub trait GESTrackExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::mixing\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mixing_trampoline:: as *const (), )), Box_::into_raw(f), @@ -393,7 +393,7 @@ pub trait GESTrackExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::restriction-caps\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_restriction_caps_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/track_element.rs b/gstreamer-editing-services/src/auto/track_element.rs index 659d79ee7..01e6e2f34 100644 --- a/gstreamer-editing-services/src/auto/track_element.rs +++ b/gstreamer-editing-services/src/auto/track_element.rs @@ -4,7 +4,9 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Edge, EditMode, Extractable, Layer, MetaContainer, TimelineElement, Track, TrackType}; +use crate::{ + ffi, Edge, EditMode, Extractable, Layer, MetaContainer, TimelineElement, Track, TrackType, +}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -411,7 +413,7 @@ pub trait TrackElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"control-binding-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( control_binding_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -443,7 +445,7 @@ pub trait TrackElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"control-binding-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( control_binding_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -466,7 +468,7 @@ pub trait TrackElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::active\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_active_trampoline:: as *const (), )), Box_::into_raw(f), @@ -497,7 +499,7 @@ pub trait TrackElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::auto-clamp-control-sources\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_auto_clamp_control_sources_trampoline:: as *const (), )), Box_::into_raw(f), @@ -525,7 +527,7 @@ pub trait TrackElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::has-internal-source\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_internal_source_trampoline:: as *const (), )), Box_::into_raw(f), @@ -548,7 +550,7 @@ pub trait TrackElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::track\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_track_trampoline:: as *const (), )), Box_::into_raw(f), @@ -574,7 +576,7 @@ pub trait TrackElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::track-type\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_track_type_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/track_element_asset.rs b/gstreamer-editing-services/src/auto/track_element_asset.rs index 5df9b8361..9cae3152d 100644 --- a/gstreamer-editing-services/src/auto/track_element_asset.rs +++ b/gstreamer-editing-services/src/auto/track_element_asset.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Asset, MetaContainer, TrackType}; +use crate::{ffi, Asset, MetaContainer, TrackType}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -95,7 +95,7 @@ pub trait TrackElementAssetExt: IsA + sealed::Sealed + 'stati connect_raw( self.as_ptr() as *mut _, b"notify::track-type\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_track_type_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/transition.rs b/gstreamer-editing-services/src/auto/transition.rs index 92fe8dac5..25a5c2c49 100644 --- a/gstreamer-editing-services/src/auto/transition.rs +++ b/gstreamer-editing-services/src/auto/transition.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, MetaContainer, Operation, TimelineElement, TrackElement}; +use crate::{ffi, Extractable, MetaContainer, Operation, TimelineElement, TrackElement}; glib::wrapper! { #[doc(alias = "GESTransition")] diff --git a/gstreamer-editing-services/src/auto/transition_clip.rs b/gstreamer-editing-services/src/auto/transition_clip.rs index 1948bb5fe..09a1a43af 100644 --- a/gstreamer-editing-services/src/auto/transition_clip.rs +++ b/gstreamer-editing-services/src/auto/transition_clip.rs @@ -4,7 +4,7 @@ // DO NOT EDIT use crate::{ - BaseTransitionClip, Clip, Container, Extractable, MetaContainer, OperationClip, + ffi, BaseTransitionClip, Clip, Container, Extractable, MetaContainer, OperationClip, TimelineElement, VideoStandardTransitionType, }; use glib::{ @@ -72,7 +72,7 @@ pub trait TransitionClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::vtype\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_vtype_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/uri_clip.rs b/gstreamer-editing-services/src/auto/uri_clip.rs index 39f20025d..f0f93f491 100644 --- a/gstreamer-editing-services/src/auto/uri_clip.rs +++ b/gstreamer-editing-services/src/auto/uri_clip.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Clip, Container, Extractable, MetaContainer, SourceClip, TimelineElement}; +use crate::{ffi, Clip, Container, Extractable, MetaContainer, SourceClip, TimelineElement}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -84,7 +84,7 @@ pub trait UriClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::is-image\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_image_trampoline:: as *const (), )), Box_::into_raw(f), @@ -107,7 +107,7 @@ pub trait UriClipExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::mute\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mute_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/uri_clip_asset.rs b/gstreamer-editing-services/src/auto/uri_clip_asset.rs index b192dfbb7..825c1f335 100644 --- a/gstreamer-editing-services/src/auto/uri_clip_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_clip_asset.rs @@ -6,7 +6,7 @@ #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use crate::SourceClipAsset; -use crate::{Asset, ClipAsset, MetaContainer, UriSourceAsset}; +use crate::{ffi, Asset, ClipAsset, MetaContainer, UriSourceAsset}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -159,7 +159,7 @@ pub trait UriClipAssetExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::duration\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_duration_trampoline:: as *const (), )), Box_::into_raw(f), @@ -190,7 +190,7 @@ pub trait UriClipAssetExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::is-nested-timeline\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_nested_timeline_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/uri_source_asset.rs b/gstreamer-editing-services/src/auto/uri_source_asset.rs index 572575c83..41821c25b 100644 --- a/gstreamer-editing-services/src/auto/uri_source_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_source_asset.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Asset, MetaContainer, TrackElementAsset, UriClipAsset}; +use crate::{ffi, Asset, MetaContainer, TrackElementAsset, UriClipAsset}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-editing-services/src/auto/versions.txt +++ b/gstreamer-editing-services/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-editing-services/src/auto/video_source.rs b/gstreamer-editing-services/src/auto/video_source.rs index 5783274b3..4302bbf7e 100644 --- a/gstreamer-editing-services/src/auto/video_source.rs +++ b/gstreamer-editing-services/src/auto/video_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, MetaContainer, Source, TimelineElement, TrackElement}; +use crate::{ffi, Extractable, MetaContainer, Source, TimelineElement, TrackElement}; use glib::prelude::*; #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] diff --git a/gstreamer-editing-services/src/auto/video_test_source.rs b/gstreamer-editing-services/src/auto/video_test_source.rs index 5b016c775..5a2ee3476 100644 --- a/gstreamer-editing-services/src/auto/video_test_source.rs +++ b/gstreamer-editing-services/src/auto/video_test_source.rs @@ -4,7 +4,7 @@ // DO NOT EDIT use crate::{ - Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource, + ffi, Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource, VideoTestPattern, }; use glib::{prelude::*, translate::*}; diff --git a/gstreamer-editing-services/src/auto/video_track.rs b/gstreamer-editing-services/src/auto/video_track.rs index 211fd989f..bf53625c7 100644 --- a/gstreamer-editing-services/src/auto/video_track.rs +++ b/gstreamer-editing-services/src/auto/video_track.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{MetaContainer, Track}; +use crate::{ffi, MetaContainer, Track}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/video_transition.rs b/gstreamer-editing-services/src/auto/video_transition.rs index 9f63f676a..76875a229 100644 --- a/gstreamer-editing-services/src/auto/video_transition.rs +++ b/gstreamer-editing-services/src/auto/video_transition.rs @@ -5,7 +5,7 @@ #![allow(deprecated)] use crate::{ - Extractable, MetaContainer, Operation, TimelineElement, TrackElement, Transition, + ffi, Extractable, MetaContainer, Operation, TimelineElement, TrackElement, Transition, VideoStandardTransitionType, }; use glib::{ @@ -134,7 +134,7 @@ pub trait VideoTransitionExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::border\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_border_trampoline:: as *const (), )), Box_::into_raw(f), @@ -161,7 +161,7 @@ pub trait VideoTransitionExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::invert\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_invert_trampoline:: as *const (), )), Box_::into_raw(f), @@ -187,7 +187,7 @@ pub trait VideoTransitionExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::transition-type\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transition_type_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-editing-services/src/auto/video_uri_source.rs b/gstreamer-editing-services/src/auto/video_uri_source.rs index ed3296cd0..ae3d04339 100644 --- a/gstreamer-editing-services/src/auto/video_uri_source.rs +++ b/gstreamer-editing-services/src/auto/video_uri_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource}; +use crate::{ffi, Extractable, MetaContainer, Source, TimelineElement, TrackElement, VideoSource}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-editing-services/src/auto/xml_formatter.rs b/gstreamer-editing-services/src/auto/xml_formatter.rs index f4cadd367..e7b50dff8 100644 --- a/gstreamer-editing-services/src/auto/xml_formatter.rs +++ b/gstreamer-editing-services/src/auto/xml_formatter.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{BaseXmlFormatter, Extractable, Formatter}; +use crate::{ffi, BaseXmlFormatter, Extractable, Formatter}; glib::wrapper! { #[doc(alias = "GESXmlFormatter")] diff --git a/gstreamer-editing-services/sys/src/auto/versions.txt b/gstreamer-editing-services/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-editing-services/sys/src/auto/versions.txt +++ b/gstreamer-editing-services/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-gl/egl/src/auto/gl_display_egl.rs b/gstreamer-gl/egl/src/auto/gl_display_egl.rs index 64328a9ea..d5c80f9de 100644 --- a/gstreamer-gl/egl/src/auto/gl_display_egl.rs +++ b/gstreamer-gl/egl/src/auto/gl_display_egl.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-gl/egl/src/auto/versions.txt +++ b/gstreamer-gl/egl/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-gl/egl/sys/src/auto/versions.txt b/gstreamer-gl/egl/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-gl/egl/sys/src/auto/versions.txt +++ b/gstreamer-gl/egl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-gl/src/auto/constants.rs b/gstreamer-gl/src/auto/constants.rs index 00a7f9b13..15daa23e8 100644 --- a/gstreamer-gl/src/auto/constants.rs +++ b/gstreamer-gl/src/auto/constants.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::GStr; #[doc(alias = "GST_BUFFER_POOL_OPTION_GL_SYNC_META")] diff --git a/gstreamer-gl/src/auto/enums.rs b/gstreamer-gl/src/auto/enums.rs index b6760895d..8dcc5ef24 100644 --- a/gstreamer-gl/src/auto/enums.rs +++ b/gstreamer-gl/src/auto/enums.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLContext, GLSLProfile}; +use crate::{ffi, GLContext, GLSLProfile}; use glib::{prelude::*, translate::*}; #[cfg(feature = "v1_20")] diff --git a/gstreamer-gl/src/auto/flags.rs b/gstreamer-gl/src/auto/flags.rs index e9ee3e9c8..cae8de743 100644 --- a/gstreamer-gl/src/auto/flags.rs +++ b/gstreamer-gl/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*}; bitflags! { diff --git a/gstreamer-gl/src/auto/functions.rs b/gstreamer-gl/src/auto/functions.rs index f87bf6753..70643dd38 100644 --- a/gstreamer-gl/src/auto/functions.rs +++ b/gstreamer-gl/src/auto/functions.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLDisplay, GLSLProfile, GLSLVersion}; +use crate::{ffi, GLDisplay, GLSLProfile, GLSLVersion}; use glib::{prelude::*, translate::*}; #[doc(alias = "gst_gl_check_extension")] diff --git a/gstreamer-gl/src/auto/gl_allocation_params.rs b/gstreamer-gl/src/auto/gl_allocation_params.rs index 34fffb17e..59cc5e632 100644 --- a/gstreamer-gl/src/auto/gl_allocation_params.rs +++ b/gstreamer-gl/src/auto/gl_allocation_params.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-gl/src/auto/gl_base_filter.rs b/gstreamer-gl/src/auto/gl_base_filter.rs index ecf993b88..42d92d7dd 100644 --- a/gstreamer-gl/src/auto/gl_base_filter.rs +++ b/gstreamer-gl/src/auto/gl_base_filter.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::GLContext; +use crate::{ffi, GLContext}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -81,7 +81,7 @@ pub trait GLBaseFilterExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::context\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_context_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-gl/src/auto/gl_base_memory_allocator.rs b/gstreamer-gl/src/auto/gl_base_memory_allocator.rs index 50c812f1a..3310baa03 100644 --- a/gstreamer-gl/src/auto/gl_base_memory_allocator.rs +++ b/gstreamer-gl/src/auto/gl_base_memory_allocator.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GstGLBaseMemoryAllocator")] pub struct GLBaseMemoryAllocator(Object) @extends gst::Allocator, gst::Object; diff --git a/gstreamer-gl/src/auto/gl_base_src.rs b/gstreamer-gl/src/auto/gl_base_src.rs index 09242bd86..2e8a3bc4f 100644 --- a/gstreamer-gl/src/auto/gl_base_src.rs +++ b/gstreamer-gl/src/auto/gl_base_src.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -63,7 +64,7 @@ pub trait GLBaseSrcExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::timestamp-offset\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timestamp_offset_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-gl/src/auto/gl_buffer_pool.rs b/gstreamer-gl/src/auto/gl_buffer_pool.rs index 683be94be..033ac144a 100644 --- a/gstreamer-gl/src/auto/gl_buffer_pool.rs +++ b/gstreamer-gl/src/auto/gl_buffer_pool.rs @@ -6,7 +6,7 @@ #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] use crate::GLAllocationParams; -use crate::GLContext; +use crate::{ffi, GLContext}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-gl/src/auto/gl_color_convert.rs b/gstreamer-gl/src/auto/gl_color_convert.rs index 80e36d981..808e1e150 100644 --- a/gstreamer-gl/src/auto/gl_color_convert.rs +++ b/gstreamer-gl/src/auto/gl_color_convert.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::GLContext; +use crate::{ffi, GLContext}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-gl/src/auto/gl_context.rs b/gstreamer-gl/src/auto/gl_context.rs index d74f4823b..84ea8129e 100644 --- a/gstreamer-gl/src/auto/gl_context.rs +++ b/gstreamer-gl/src/auto/gl_context.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLDisplay, GLPlatform, GLSLProfile, GLSLVersion, GLWindow, GLAPI}; +use crate::{ffi, GLDisplay, GLPlatform, GLSLProfile, GLSLVersion, GLWindow, GLAPI}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-gl/src/auto/gl_display.rs b/gstreamer-gl/src/auto/gl_display.rs index 2083f91ed..11699cbfe 100644 --- a/gstreamer-gl/src/auto/gl_display.rs +++ b/gstreamer-gl/src/auto/gl_display.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLContext, GLDisplayType, GLWindow, GLAPI}; +use crate::{ffi, GLContext, GLDisplayType, GLWindow, GLAPI}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -148,7 +148,7 @@ pub trait GLDisplayExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"create-context\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( create_context_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-gl/src/auto/gl_filter.rs b/gstreamer-gl/src/auto/gl_filter.rs index 9d2672162..a0ce82b1a 100644 --- a/gstreamer-gl/src/auto/gl_filter.rs +++ b/gstreamer-gl/src/auto/gl_filter.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLBaseFilter, GLMemory, GLShader}; +use crate::{ffi, GLBaseFilter, GLMemory, GLShader}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-gl/src/auto/gl_framebuffer.rs b/gstreamer-gl/src/auto/gl_framebuffer.rs index 309669db3..c1d77ed60 100644 --- a/gstreamer-gl/src/auto/gl_framebuffer.rs +++ b/gstreamer-gl/src/auto/gl_framebuffer.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLBaseMemory, GLContext}; +use crate::{ffi, GLBaseMemory, GLContext}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-gl/src/auto/gl_memory_allocator.rs b/gstreamer-gl/src/auto/gl_memory_allocator.rs index aa8c18307..63051cc93 100644 --- a/gstreamer-gl/src/auto/gl_memory_allocator.rs +++ b/gstreamer-gl/src/auto/gl_memory_allocator.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLBaseMemoryAllocator, GLContext}; +use crate::{ffi, GLBaseMemoryAllocator, GLContext}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-gl/src/auto/gl_overlay_compositor.rs b/gstreamer-gl/src/auto/gl_overlay_compositor.rs index 02bc3e389..738e0e531 100644 --- a/gstreamer-gl/src/auto/gl_overlay_compositor.rs +++ b/gstreamer-gl/src/auto/gl_overlay_compositor.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::GLContext; +use crate::{ffi, GLContext}; #[cfg(feature = "v1_16")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))] use glib::signal::{connect_raw, SignalHandlerId}; @@ -90,7 +90,7 @@ impl GLOverlayCompositor { connect_raw( self.as_ptr() as *mut _, b"notify::yinvert\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_yinvert_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-gl/src/auto/gl_shader.rs b/gstreamer-gl/src/auto/gl_shader.rs index 0f439f86c..398169218 100644 --- a/gstreamer-gl/src/auto/gl_shader.rs +++ b/gstreamer-gl/src/auto/gl_shader.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLContext, GLSLStage}; +use crate::{ffi, GLContext, GLSLStage}; #[cfg(feature = "v1_16")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))] use crate::{GLSLProfile, GLSLVersion}; @@ -442,7 +442,7 @@ impl GLShader { connect_raw( self.as_ptr() as *mut _, b"notify::linked\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_linked_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-gl/src/auto/gl_upload.rs b/gstreamer-gl/src/auto/gl_upload.rs index 47a64e4ce..7771b30d8 100644 --- a/gstreamer-gl/src/auto/gl_upload.rs +++ b/gstreamer-gl/src/auto/gl_upload.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::GLContext; +use crate::{ffi, GLContext}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-gl/src/auto/gl_video_allocation_params.rs b/gstreamer-gl/src/auto/gl_video_allocation_params.rs index b1818d54a..1a10d9164 100644 --- a/gstreamer-gl/src/auto/gl_video_allocation_params.rs +++ b/gstreamer-gl/src/auto/gl_video_allocation_params.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLContext, GLFormat, GLTextureTarget}; +use crate::{ffi, GLContext, GLFormat, GLTextureTarget}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-gl/src/auto/gl_view_convert.rs b/gstreamer-gl/src/auto/gl_view_convert.rs index 2bf207c2b..f5c51f609 100644 --- a/gstreamer-gl/src/auto/gl_view_convert.rs +++ b/gstreamer-gl/src/auto/gl_view_convert.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLContext, GLStereoDownmix}; +use crate::{ffi, GLContext, GLStereoDownmix}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -159,7 +159,7 @@ impl GLViewConvert { connect_raw( self.as_ptr() as *mut _, b"notify::downmix-mode\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_downmix_mode_trampoline:: as *const (), )), Box_::into_raw(f), @@ -187,7 +187,7 @@ impl GLViewConvert { connect_raw( self.as_ptr() as *mut _, b"notify::input-flags-override\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_flags_override_trampoline:: as *const (), )), Box_::into_raw(f), @@ -215,7 +215,7 @@ impl GLViewConvert { connect_raw( self.as_ptr() as *mut _, b"notify::input-mode-override\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_mode_override_trampoline:: as *const (), )), Box_::into_raw(f), @@ -243,7 +243,7 @@ impl GLViewConvert { connect_raw( self.as_ptr() as *mut _, b"notify::output-flags-override\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_output_flags_override_trampoline:: as *const (), )), Box_::into_raw(f), @@ -271,7 +271,7 @@ impl GLViewConvert { connect_raw( self.as_ptr() as *mut _, b"notify::output-mode-override\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_output_mode_override_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-gl/src/auto/gl_window.rs b/gstreamer-gl/src/auto/gl_window.rs index d118aa62e..91786483c 100644 --- a/gstreamer-gl/src/auto/gl_window.rs +++ b/gstreamer-gl/src/auto/gl_window.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLContext, GLDisplay}; +use crate::{ffi, GLContext, GLDisplay}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -232,7 +232,7 @@ pub trait GLWindowExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"key-event\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( key_event_trampoline:: as *const (), )), Box_::into_raw(f), @@ -270,7 +270,7 @@ pub trait GLWindowExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"mouse-event\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mouse_event_trampoline:: as *const (), )), Box_::into_raw(f), @@ -310,7 +310,7 @@ pub trait GLWindowExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"scroll-event\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( scroll_event_trampoline:: as *const (), )), Box_::into_raw(f), @@ -340,7 +340,7 @@ pub trait GLWindowExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"window-handle-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( window_handle_changed_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-gl/src/auto/glsl_stage.rs b/gstreamer-gl/src/auto/glsl_stage.rs index e8fe00637..158758c04 100644 --- a/gstreamer-gl/src/auto/glsl_stage.rs +++ b/gstreamer-gl/src/auto/glsl_stage.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{GLContext, GLSLProfile, GLSLVersion}; +use crate::{ffi, GLContext, GLSLProfile, GLSLVersion}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-gl/src/auto/versions.txt +++ b/gstreamer-gl/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-gl/sys/src/auto/versions.txt b/gstreamer-gl/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-gl/sys/src/auto/versions.txt +++ b/gstreamer-gl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs b/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs index 932707b15..087ce3324 100644 --- a/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs +++ b/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-gl/wayland/src/auto/versions.txt +++ b/gstreamer-gl/wayland/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-gl/wayland/sys/src/auto/versions.txt b/gstreamer-gl/wayland/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-gl/wayland/sys/src/auto/versions.txt +++ b/gstreamer-gl/wayland/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-gl/x11/src/auto/gl_display_x11.rs b/gstreamer-gl/x11/src/auto/gl_display_x11.rs index a0be99443..53e4fafdf 100644 --- a/gstreamer-gl/x11/src/auto/gl_display_x11.rs +++ b/gstreamer-gl/x11/src/auto/gl_display_x11.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-gl/x11/src/auto/versions.txt +++ b/gstreamer-gl/x11/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-gl/x11/sys/src/auto/versions.txt b/gstreamer-gl/x11/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-gl/x11/sys/src/auto/versions.txt +++ b/gstreamer-gl/x11/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-mpegts/src/auto/section.rs b/gstreamer-mpegts/src/auto/section.rs index 2df239a42..40ce87bac 100644 --- a/gstreamer-mpegts/src/auto/section.rs +++ b/gstreamer-mpegts/src/auto/section.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-mpegts/src/auto/versions.txt b/gstreamer-mpegts/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-mpegts/src/auto/versions.txt +++ b/gstreamer-mpegts/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-mpegts/sys/src/auto/versions.txt b/gstreamer-mpegts/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-mpegts/sys/src/auto/versions.txt +++ b/gstreamer-mpegts/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-net/src/auto/net_client_clock.rs b/gstreamer-net/src/auto/net_client_clock.rs index 0f11efcdd..74c44b757 100644 --- a/gstreamer-net/src/auto/net_client_clock.rs +++ b/gstreamer-net/src/auto/net_client_clock.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -123,7 +124,7 @@ impl NetClientClock { connect_raw( self.as_ptr() as *mut _, b"notify::address\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_address_trampoline:: as *const (), )), Box_::into_raw(f), @@ -151,7 +152,7 @@ impl NetClientClock { connect_raw( self.as_ptr() as *mut _, b"notify::bus\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_bus_trampoline:: as *const (), )), Box_::into_raw(f), @@ -179,7 +180,7 @@ impl NetClientClock { connect_raw( self.as_ptr() as *mut _, b"notify::internal-clock\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_internal_clock_trampoline:: as *const (), )), Box_::into_raw(f), @@ -207,7 +208,7 @@ impl NetClientClock { connect_raw( self.as_ptr() as *mut _, b"notify::minimum-update-interval\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_minimum_update_interval_trampoline:: as *const (), )), Box_::into_raw(f), @@ -235,7 +236,7 @@ impl NetClientClock { connect_raw( self.as_ptr() as *mut _, b"notify::port\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_port_trampoline:: as *const (), )), Box_::into_raw(f), @@ -263,7 +264,7 @@ impl NetClientClock { connect_raw( self.as_ptr() as *mut _, b"notify::qos-dscp\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_qos_dscp_trampoline:: as *const (), )), Box_::into_raw(f), @@ -291,7 +292,7 @@ impl NetClientClock { connect_raw( self.as_ptr() as *mut _, b"notify::round-trip-limit\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_round_trip_limit_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-net/src/auto/net_time_provider.rs b/gstreamer-net/src/auto/net_time_provider.rs index 911ebca6c..73768e5a1 100644 --- a/gstreamer-net/src/auto/net_time_provider.rs +++ b/gstreamer-net/src/auto/net_time_provider.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -87,7 +88,7 @@ impl NetTimeProvider { connect_raw( self.as_ptr() as *mut _, b"notify::active\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_active_trampoline:: as *const (), )), Box_::into_raw(f), @@ -115,7 +116,7 @@ impl NetTimeProvider { connect_raw( self.as_ptr() as *mut _, b"notify::qos-dscp\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_qos_dscp_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-net/src/auto/ntp_clock.rs b/gstreamer-net/src/auto/ntp_clock.rs index e51c0e03d..47ff42dfc 100644 --- a/gstreamer-net/src/auto/ntp_clock.rs +++ b/gstreamer-net/src/auto/ntp_clock.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::NetClientClock; +use crate::{ffi, NetClientClock}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-net/src/auto/ptp_clock.rs b/gstreamer-net/src/auto/ptp_clock.rs index 50c4aad2e..c1e8d803f 100644 --- a/gstreamer-net/src/auto/ptp_clock.rs +++ b/gstreamer-net/src/auto/ptp_clock.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -72,7 +73,7 @@ impl PtpClock { connect_raw( self.as_ptr() as *mut _, b"notify::grandmaster-clock-id\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_grandmaster_clock_id_trampoline:: as *const (), )), Box_::into_raw(f), @@ -100,7 +101,7 @@ impl PtpClock { connect_raw( self.as_ptr() as *mut _, b"notify::internal-clock\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_internal_clock_trampoline:: as *const (), )), Box_::into_raw(f), @@ -128,7 +129,7 @@ impl PtpClock { connect_raw( self.as_ptr() as *mut _, b"notify::master-clock-id\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_master_clock_id_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-net/src/auto/versions.txt +++ b/gstreamer-net/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-net/sys/src/auto/versions.txt b/gstreamer-net/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-net/sys/src/auto/versions.txt +++ b/gstreamer-net/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-pbutils/src/auto/audio_visualizer.rs b/gstreamer-pbutils/src/auto/audio_visualizer.rs index f712ce031..a41a6d170 100644 --- a/gstreamer-pbutils/src/auto/audio_visualizer.rs +++ b/gstreamer-pbutils/src/auto/audio_visualizer.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::AudioVisualizerShader; +use crate::{ffi, AudioVisualizerShader}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -72,7 +72,7 @@ pub trait AudioVisualizerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::shade-amount\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shade_amount_trampoline:: as *const (), )), Box_::into_raw(f), @@ -98,7 +98,7 @@ pub trait AudioVisualizerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::shader\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shader_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-pbutils/src/auto/discoverer.rs b/gstreamer-pbutils/src/auto/discoverer.rs index 10af88b06..137063652 100644 --- a/gstreamer-pbutils/src/auto/discoverer.rs +++ b/gstreamer-pbutils/src/auto/discoverer.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::DiscovererInfo; +use crate::{ffi, DiscovererInfo}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -119,7 +119,7 @@ impl Discoverer { connect_raw( self.as_ptr() as *mut _, b"discovered\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( discovered_trampoline:: as *const (), )), Box_::into_raw(f), @@ -141,7 +141,7 @@ impl Discoverer { connect_raw( self.as_ptr() as *mut _, b"finished\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( finished_trampoline:: as *const (), )), Box_::into_raw(f), @@ -177,7 +177,7 @@ impl Discoverer { connect_raw( self.as_ptr() as *mut _, b"load-serialized-info\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( load_serialized_info_trampoline:: as *const (), )), Box_::into_raw(f), @@ -205,7 +205,7 @@ impl Discoverer { connect_raw( self.as_ptr() as *mut _, b"source-setup\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( source_setup_trampoline:: as *const (), )), Box_::into_raw(f), @@ -227,7 +227,7 @@ impl Discoverer { connect_raw( self.as_ptr() as *mut _, b"starting\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( starting_trampoline:: as *const (), )), Box_::into_raw(f), @@ -257,7 +257,7 @@ impl Discoverer { connect_raw( self.as_ptr() as *mut _, b"notify::use-cache\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_cache_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs index d262adb3a..273151888 100644 --- a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::DiscovererStreamInfo; +use crate::{ffi, DiscovererStreamInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-pbutils/src/auto/discoverer_container_info.rs b/gstreamer-pbutils/src/auto/discoverer_container_info.rs index 8dc6134fc..7da489a49 100644 --- a/gstreamer-pbutils/src/auto/discoverer_container_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_container_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::DiscovererStreamInfo; +use crate::{ffi, DiscovererStreamInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-pbutils/src/auto/discoverer_info.rs b/gstreamer-pbutils/src/auto/discoverer_info.rs index b50ddb9eb..6cb80b321 100644 --- a/gstreamer-pbutils/src/auto/discoverer_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_info.rs @@ -5,7 +5,7 @@ #![allow(deprecated)] use crate::{ - DiscovererAudioInfo, DiscovererContainerInfo, DiscovererResult, DiscovererSerializeFlags, + ffi, DiscovererAudioInfo, DiscovererContainerInfo, DiscovererResult, DiscovererSerializeFlags, DiscovererStreamInfo, DiscovererSubtitleInfo, DiscovererVideoInfo, }; use glib::translate::*; diff --git a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs index 4975e7e10..3b8418b1f 100644 --- a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs index 255f55d2c..0e650b236 100644 --- a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::DiscovererStreamInfo; +use crate::{ffi, DiscovererStreamInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-pbutils/src/auto/discoverer_video_info.rs b/gstreamer-pbutils/src/auto/discoverer_video_info.rs index 11edadcdd..676094791 100644 --- a/gstreamer-pbutils/src/auto/discoverer_video_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_video_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::DiscovererStreamInfo; +use crate::{ffi, DiscovererStreamInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-pbutils/src/auto/encoding_audio_profile.rs b/gstreamer-pbutils/src/auto/encoding_audio_profile.rs index 402b11102..30fb6dd96 100644 --- a/gstreamer-pbutils/src/auto/encoding_audio_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_audio_profile.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::EncodingProfile; +use crate::{ffi, EncodingProfile}; glib::wrapper! { #[doc(alias = "GstEncodingAudioProfile")] diff --git a/gstreamer-pbutils/src/auto/encoding_container_profile.rs b/gstreamer-pbutils/src/auto/encoding_container_profile.rs index b159f3ff8..88c686845 100644 --- a/gstreamer-pbutils/src/auto/encoding_container_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_container_profile.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::EncodingProfile; +use crate::{ffi, EncodingProfile}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-pbutils/src/auto/encoding_profile.rs b/gstreamer-pbutils/src/auto/encoding_profile.rs index 3168a9927..73c51ef14 100644 --- a/gstreamer-pbutils/src/auto/encoding_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_profile.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::DiscovererInfo; +use crate::{ffi, DiscovererInfo}; #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] use glib::signal::{connect_raw, SignalHandlerId}; @@ -257,7 +257,7 @@ pub trait EncodingProfileExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::element-properties\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_element_properties_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-pbutils/src/auto/encoding_target.rs b/gstreamer-pbutils/src/auto/encoding_target.rs index c6f2cabb5..fd2baa8ef 100644 --- a/gstreamer-pbutils/src/auto/encoding_target.rs +++ b/gstreamer-pbutils/src/auto/encoding_target.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::EncodingProfile; +use crate::{ffi, EncodingProfile}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-pbutils/src/auto/encoding_video_profile.rs b/gstreamer-pbutils/src/auto/encoding_video_profile.rs index 13fba26f2..96a8b3714 100644 --- a/gstreamer-pbutils/src/auto/encoding_video_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_video_profile.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::EncodingProfile; +use crate::{ffi, EncodingProfile}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-pbutils/src/auto/enums.rs b/gstreamer-pbutils/src/auto/enums.rs index ac5c1f02d..fca38fc61 100644 --- a/gstreamer-pbutils/src/auto/enums.rs +++ b/gstreamer-pbutils/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gstreamer-pbutils/src/auto/flags.rs b/gstreamer-pbutils/src/auto/flags.rs index 26c6f21a0..e4045b618 100644 --- a/gstreamer-pbutils/src/auto/flags.rs +++ b/gstreamer-pbutils/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*}; bitflags! { diff --git a/gstreamer-pbutils/src/auto/functions.rs b/gstreamer-pbutils/src/auto/functions.rs index 4c114bf69..23632fd60 100644 --- a/gstreamer-pbutils/src/auto/functions.rs +++ b/gstreamer-pbutils/src/auto/functions.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::EncodingTarget; +use crate::{ffi, EncodingTarget}; use glib::translate::*; #[doc(alias = "gst_codec_utils_aac_get_channels")] diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-pbutils/src/auto/versions.txt +++ b/gstreamer-pbutils/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-pbutils/sys/src/auto/versions.txt b/gstreamer-pbutils/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-pbutils/sys/src/auto/versions.txt +++ b/gstreamer-pbutils/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-play/src/auto/enums.rs b/gstreamer-play/src/auto/enums.rs index b8b9462c3..526a1b52a 100644 --- a/gstreamer-play/src/auto/enums.rs +++ b/gstreamer-play/src/auto/enums.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::PlayMediaInfo; +use crate::{ffi, PlayMediaInfo}; use glib::{prelude::*, translate::*, GStr}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gstreamer-play/src/auto/play.rs b/gstreamer-play/src/auto/play.rs index 88bd61c69..02269303e 100644 --- a/gstreamer-play/src/auto/play.rs +++ b/gstreamer-play/src/auto/play.rs @@ -4,7 +4,7 @@ // DO NOT EDIT use crate::{ - PlayAudioInfo, PlayColorBalanceType, PlayMediaInfo, PlaySubtitleInfo, PlayVideoInfo, + ffi, PlayAudioInfo, PlayColorBalanceType, PlayMediaInfo, PlaySubtitleInfo, PlayVideoInfo, PlayVideoRenderer, PlayVisualization, }; use glib::{ @@ -433,7 +433,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::audio-video-offset\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_audio_video_offset_trampoline:: as *const (), )), Box_::into_raw(f), @@ -461,7 +461,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::current-audio-track\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_audio_track_trampoline:: as *const (), )), Box_::into_raw(f), @@ -489,7 +489,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::current-subtitle-track\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_subtitle_track_trampoline:: as *const (), )), Box_::into_raw(f), @@ -517,7 +517,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::current-video-track\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_video_track_trampoline:: as *const (), )), Box_::into_raw(f), @@ -543,7 +543,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::duration\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_duration_trampoline:: as *const (), )), Box_::into_raw(f), @@ -569,7 +569,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::media-info\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_media_info_trampoline:: as *const (), )), Box_::into_raw(f), @@ -595,7 +595,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::mute\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mute_trampoline:: as *const (), )), Box_::into_raw(f), @@ -621,7 +621,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::pipeline\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pipeline_trampoline:: as *const (), )), Box_::into_raw(f), @@ -647,7 +647,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::position\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_position_trampoline:: as *const (), )), Box_::into_raw(f), @@ -673,7 +673,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::rate\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rate_trampoline:: as *const (), )), Box_::into_raw(f), @@ -701,7 +701,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::subtitle-video-offset\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_subtitle_video_offset_trampoline:: as *const (), )), Box_::into_raw(f), @@ -727,7 +727,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::suburi\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_suburi_trampoline:: as *const (), )), Box_::into_raw(f), @@ -753,7 +753,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::uri\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_uri_trampoline:: as *const (), )), Box_::into_raw(f), @@ -781,7 +781,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::video-multiview-flags\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_video_multiview_flags_trampoline:: as *const (), )), Box_::into_raw(f), @@ -809,7 +809,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::video-multiview-mode\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_video_multiview_mode_trampoline:: as *const (), )), Box_::into_raw(f), @@ -837,7 +837,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::video-renderer\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_video_renderer_trampoline:: as *const (), )), Box_::into_raw(f), @@ -863,7 +863,7 @@ impl Play { connect_raw( self.as_ptr() as *mut _, b"notify::volume\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_volume_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-play/src/auto/play_audio_info.rs b/gstreamer-play/src/auto/play_audio_info.rs index 68b802bac..5bef54c9b 100644 --- a/gstreamer-play/src/auto/play_audio_info.rs +++ b/gstreamer-play/src/auto/play_audio_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::PlayStreamInfo; +use crate::{ffi, PlayStreamInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-play/src/auto/play_media_info.rs b/gstreamer-play/src/auto/play_media_info.rs index 257bf41e4..9255468c0 100644 --- a/gstreamer-play/src/auto/play_media_info.rs +++ b/gstreamer-play/src/auto/play_media_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{PlayAudioInfo, PlayStreamInfo, PlaySubtitleInfo, PlayVideoInfo}; +use crate::{ffi, PlayAudioInfo, PlayStreamInfo, PlaySubtitleInfo, PlayVideoInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-play/src/auto/play_signal_adapter.rs b/gstreamer-play/src/auto/play_signal_adapter.rs index f25abed1a..c5f475670 100644 --- a/gstreamer-play/src/auto/play_signal_adapter.rs +++ b/gstreamer-play/src/auto/play_signal_adapter.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Play, PlayMediaInfo, PlayState}; +use crate::{ffi, Play, PlayMediaInfo, PlayState}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -72,7 +72,7 @@ impl PlaySignalAdapter { connect_raw( self.as_ptr() as *mut _, b"buffering\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( buffering_trampoline:: as *const (), )), Box_::into_raw(f), @@ -96,7 +96,7 @@ impl PlaySignalAdapter { connect_raw( self.as_ptr() as *mut _, b"end-of-stream\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( end_of_stream_trampoline:: as *const (), )), Box_::into_raw(f), @@ -131,7 +131,7 @@ impl PlaySignalAdapter { connect_raw( self.as_ptr() as *mut _, b"error\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( error_trampoline:: as *const (), )), Box_::into_raw(f), @@ -159,7 +159,7 @@ impl PlaySignalAdapter { connect_raw( self.as_ptr() as *mut _, b"media-info-updated\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( media_info_updated_trampoline:: as *const (), )), Box_::into_raw(f), @@ -187,7 +187,7 @@ impl PlaySignalAdapter { connect_raw( self.as_ptr() as *mut _, b"mute-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mute_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -215,7 +215,7 @@ impl PlaySignalAdapter { connect_raw( self.as_ptr() as *mut _, b"state-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( state_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -243,7 +243,7 @@ impl PlaySignalAdapter { connect_raw( self.as_ptr() as *mut _, b"uri-loaded\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( uri_loaded_trampoline:: as *const (), )), Box_::into_raw(f), @@ -272,7 +272,7 @@ impl PlaySignalAdapter { connect_raw( self.as_ptr() as *mut _, b"video-dimensions-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( video_dimensions_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -300,7 +300,7 @@ impl PlaySignalAdapter { connect_raw( self.as_ptr() as *mut _, b"volume-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( volume_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -335,7 +335,7 @@ impl PlaySignalAdapter { connect_raw( self.as_ptr() as *mut _, b"warning\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( warning_trampoline:: as *const (), )), Box_::into_raw(f), @@ -363,7 +363,7 @@ impl PlaySignalAdapter { connect_raw( self.as_ptr() as *mut _, b"notify::play\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_play_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-play/src/auto/play_stream_info.rs b/gstreamer-play/src/auto/play_stream_info.rs index 7a87aeef5..861012f75 100644 --- a/gstreamer-play/src/auto/play_stream_info.rs +++ b/gstreamer-play/src/auto/play_stream_info.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-play/src/auto/play_subtitle_info.rs b/gstreamer-play/src/auto/play_subtitle_info.rs index 292ae8bfd..cc82ac351 100644 --- a/gstreamer-play/src/auto/play_subtitle_info.rs +++ b/gstreamer-play/src/auto/play_subtitle_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::PlayStreamInfo; +use crate::{ffi, PlayStreamInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-play/src/auto/play_video_info.rs b/gstreamer-play/src/auto/play_video_info.rs index 72b0d0c98..f8c2cad3e 100644 --- a/gstreamer-play/src/auto/play_video_info.rs +++ b/gstreamer-play/src/auto/play_video_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::PlayStreamInfo; +use crate::{ffi, PlayStreamInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-play/src/auto/play_video_overlay_video_renderer.rs b/gstreamer-play/src/auto/play_video_overlay_video_renderer.rs index 5c3baf2bd..edd3439d5 100644 --- a/gstreamer-play/src/auto/play_video_overlay_video_renderer.rs +++ b/gstreamer-play/src/auto/play_video_overlay_video_renderer.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::PlayVideoRenderer; +use crate::{ffi, PlayVideoRenderer}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -95,7 +95,7 @@ impl PlayVideoOverlayVideoRenderer { connect_raw( self.as_ptr() as *mut _, b"notify::video-sink\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_video_sink_trampoline:: as *const (), )), Box_::into_raw(f), @@ -123,7 +123,7 @@ impl PlayVideoOverlayVideoRenderer { connect_raw( self.as_ptr() as *mut _, b"notify::window-handle\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_window_handle_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-play/src/auto/play_video_renderer.rs b/gstreamer-play/src/auto/play_video_renderer.rs index ed806bc9d..2c8e18b43 100644 --- a/gstreamer-play/src/auto/play_video_renderer.rs +++ b/gstreamer-play/src/auto/play_video_renderer.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::prelude::*; glib::wrapper! { diff --git a/gstreamer-play/src/auto/play_visualization.rs b/gstreamer-play/src/auto/play_visualization.rs index a93221bc8..cd6a0f45f 100644 --- a/gstreamer-play/src/auto/play_visualization.rs +++ b/gstreamer-play/src/auto/play_visualization.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct PlayVisualization(Boxed); diff --git a/gstreamer-play/src/auto/versions.txt b/gstreamer-play/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-play/src/auto/versions.txt +++ b/gstreamer-play/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-play/sys/src/auto/versions.txt b/gstreamer-play/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-play/sys/src/auto/versions.txt +++ b/gstreamer-play/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-player/src/auto/enums.rs b/gstreamer-player/src/auto/enums.rs index 0f2310c4d..3e503e5a9 100644 --- a/gstreamer-player/src/auto/enums.rs +++ b/gstreamer-player/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*, GStr}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index 61b73615e..76b17b21b 100644 --- a/gstreamer-player/src/auto/player.rs +++ b/gstreamer-player/src/auto/player.rs @@ -4,8 +4,8 @@ // DO NOT EDIT use crate::{ - PlayerAudioInfo, PlayerColorBalanceType, PlayerMediaInfo, PlayerSignalDispatcher, PlayerState, - PlayerSubtitleInfo, PlayerVideoInfo, PlayerVideoRenderer, PlayerVisualization, + ffi, PlayerAudioInfo, PlayerColorBalanceType, PlayerMediaInfo, PlayerSignalDispatcher, + PlayerState, PlayerSubtitleInfo, PlayerVideoInfo, PlayerVideoRenderer, PlayerVisualization, }; use glib::{ prelude::*, @@ -427,7 +427,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"buffering\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( buffering_trampoline:: as *const (), )), Box_::into_raw(f), @@ -449,7 +449,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"end-of-stream\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( end_of_stream_trampoline:: as *const (), )), Box_::into_raw(f), @@ -475,7 +475,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"error\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( error_trampoline:: as *const (), )), Box_::into_raw(f), @@ -503,7 +503,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"media-info-updated\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( media_info_updated_trampoline:: as *const (), )), Box_::into_raw(f), @@ -525,7 +525,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"mute-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mute_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -553,7 +553,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"state-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( state_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -579,7 +579,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"uri-loaded\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( uri_loaded_trampoline:: as *const (), )), Box_::into_raw(f), @@ -608,7 +608,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"video-dimensions-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( video_dimensions_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -630,7 +630,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"volume-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( volume_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -656,7 +656,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"warning\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( warning_trampoline:: as *const (), )), Box_::into_raw(f), @@ -684,7 +684,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::audio-video-offset\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_audio_video_offset_trampoline:: as *const (), )), Box_::into_raw(f), @@ -712,7 +712,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::current-audio-track\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_audio_track_trampoline:: as *const (), )), Box_::into_raw(f), @@ -740,7 +740,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::current-subtitle-track\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_subtitle_track_trampoline:: as *const (), )), Box_::into_raw(f), @@ -768,7 +768,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::current-video-track\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_video_track_trampoline:: as *const (), )), Box_::into_raw(f), @@ -794,7 +794,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::duration\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_duration_trampoline:: as *const (), )), Box_::into_raw(f), @@ -822,7 +822,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::media-info\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_media_info_trampoline:: as *const (), )), Box_::into_raw(f), @@ -848,7 +848,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::mute\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mute_trampoline:: as *const (), )), Box_::into_raw(f), @@ -874,7 +874,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::pipeline\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pipeline_trampoline:: as *const (), )), Box_::into_raw(f), @@ -900,7 +900,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::position\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_position_trampoline:: as *const (), )), Box_::into_raw(f), @@ -926,7 +926,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::rate\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rate_trampoline:: as *const (), )), Box_::into_raw(f), @@ -956,7 +956,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::subtitle-video-offset\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_subtitle_video_offset_trampoline:: as *const (), )), Box_::into_raw(f), @@ -982,7 +982,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::suburi\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_suburi_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1008,7 +1008,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::uri\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_uri_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1036,7 +1036,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::video-multiview-flags\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_video_multiview_flags_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1064,7 +1064,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::video-multiview-mode\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_video_multiview_mode_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1090,7 +1090,7 @@ impl Player { connect_raw( self.as_ptr() as *mut _, b"notify::volume\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_volume_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-player/src/auto/player_audio_info.rs b/gstreamer-player/src/auto/player_audio_info.rs index 1ab4b68fc..7b0133bd3 100644 --- a/gstreamer-player/src/auto/player_audio_info.rs +++ b/gstreamer-player/src/auto/player_audio_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::PlayerStreamInfo; +use crate::{ffi, PlayerStreamInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs b/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs index 33033b812..dfe595ead 100644 --- a/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::PlayerSignalDispatcher; +use crate::{ffi, PlayerSignalDispatcher}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-player/src/auto/player_media_info.rs b/gstreamer-player/src/auto/player_media_info.rs index 5bbd22c4d..cb96e347c 100644 --- a/gstreamer-player/src/auto/player_media_info.rs +++ b/gstreamer-player/src/auto/player_media_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{PlayerAudioInfo, PlayerStreamInfo, PlayerSubtitleInfo, PlayerVideoInfo}; +use crate::{ffi, PlayerAudioInfo, PlayerStreamInfo, PlayerSubtitleInfo, PlayerVideoInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-player/src/auto/player_signal_dispatcher.rs b/gstreamer-player/src/auto/player_signal_dispatcher.rs index b9d27b26b..805de0931 100644 --- a/gstreamer-player/src/auto/player_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_signal_dispatcher.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::prelude::*; glib::wrapper! { diff --git a/gstreamer-player/src/auto/player_stream_info.rs b/gstreamer-player/src/auto/player_stream_info.rs index 8fa08f603..fa26b78e4 100644 --- a/gstreamer-player/src/auto/player_stream_info.rs +++ b/gstreamer-player/src/auto/player_stream_info.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-player/src/auto/player_subtitle_info.rs b/gstreamer-player/src/auto/player_subtitle_info.rs index cc48626f4..0c827d95b 100644 --- a/gstreamer-player/src/auto/player_subtitle_info.rs +++ b/gstreamer-player/src/auto/player_subtitle_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::PlayerStreamInfo; +use crate::{ffi, PlayerStreamInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-player/src/auto/player_video_info.rs b/gstreamer-player/src/auto/player_video_info.rs index 21ac83c2e..6f7bebdbf 100644 --- a/gstreamer-player/src/auto/player_video_info.rs +++ b/gstreamer-player/src/auto/player_video_info.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::PlayerStreamInfo; +use crate::{ffi, PlayerStreamInfo}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs index f2a233f75..4ac4ced45 100644 --- a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::PlayerVideoRenderer; +use crate::{ffi, PlayerVideoRenderer}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -95,7 +95,7 @@ impl PlayerVideoOverlayVideoRenderer { connect_raw( self.as_ptr() as *mut _, b"notify::video-sink\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_video_sink_trampoline:: as *const (), )), Box_::into_raw(f), @@ -123,7 +123,7 @@ impl PlayerVideoOverlayVideoRenderer { connect_raw( self.as_ptr() as *mut _, b"notify::window-handle\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_window_handle_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-player/src/auto/player_video_renderer.rs b/gstreamer-player/src/auto/player_video_renderer.rs index 49b067232..f6cbb9df9 100644 --- a/gstreamer-player/src/auto/player_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_renderer.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::prelude::*; glib::wrapper! { diff --git a/gstreamer-player/src/auto/player_visualization.rs b/gstreamer-player/src/auto/player_visualization.rs index 36415885d..fc6b460cd 100644 --- a/gstreamer-player/src/auto/player_visualization.rs +++ b/gstreamer-player/src/auto/player_visualization.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct PlayerVisualization(Boxed); diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-player/src/auto/versions.txt +++ b/gstreamer-player/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-player/sys/src/auto/versions.txt b/gstreamer-player/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-player/sys/src/auto/versions.txt +++ b/gstreamer-player/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-rtp/src/auto/constants.rs b/gstreamer-rtp/src/auto/constants.rs index 5042e81fd..95e4ef17a 100644 --- a/gstreamer-rtp/src/auto/constants.rs +++ b/gstreamer-rtp/src/auto/constants.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::GStr; #[doc(alias = "GST_RTP_HDREXT_BASE")] diff --git a/gstreamer-rtp/src/auto/enums.rs b/gstreamer-rtp/src/auto/enums.rs index 7685c1888..5c2b6e71f 100644 --- a/gstreamer-rtp/src/auto/enums.rs +++ b/gstreamer-rtp/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gstreamer-rtp/src/auto/flags.rs b/gstreamer-rtp/src/auto/flags.rs index 608d3f547..b2ebcba55 100644 --- a/gstreamer-rtp/src/auto/flags.rs +++ b/gstreamer-rtp/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*}; bitflags! { diff --git a/gstreamer-rtp/src/auto/functions.rs b/gstreamer-rtp/src/auto/functions.rs index e72184149..30ad47a6e 100644 --- a/gstreamer-rtp/src/auto/functions.rs +++ b/gstreamer-rtp/src/auto/functions.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::RTCPSDESType; +use crate::{ffi, RTCPSDESType}; use glib::translate::*; //#[cfg(feature = "v1_16")] diff --git a/gstreamer-rtp/src/auto/rtp_base_depayload.rs b/gstreamer-rtp/src/auto/rtp_base_depayload.rs index 7a5ef390f..6befd2582 100644 --- a/gstreamer-rtp/src/auto/rtp_base_depayload.rs +++ b/gstreamer-rtp/src/auto/rtp_base_depayload.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] use crate::RTPHeaderExtension; @@ -207,7 +208,7 @@ pub trait RTPBaseDepayloadExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"add-extension\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( add_extension_trampoline:: as *const (), )), Box_::into_raw(f), @@ -243,7 +244,7 @@ pub trait RTPBaseDepayloadExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"clear-extensions\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( clear_extensions_trampoline:: as *const (), )), Box_::into_raw(f), @@ -291,7 +292,7 @@ pub trait RTPBaseDepayloadExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"request-extension\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( request_extension_trampoline:: as *const (), )), Box_::into_raw(f), @@ -322,7 +323,7 @@ pub trait RTPBaseDepayloadExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::auto-header-extension\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_auto_header_extension_trampoline:: as *const (), )), Box_::into_raw(f), @@ -353,7 +354,7 @@ pub trait RTPBaseDepayloadExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::max-reorder\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_reorder_trampoline:: as *const (), )), Box_::into_raw(f), @@ -384,7 +385,7 @@ pub trait RTPBaseDepayloadExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::source-info\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_source_info_trampoline:: as *const (), )), Box_::into_raw(f), @@ -410,7 +411,7 @@ pub trait RTPBaseDepayloadExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::stats\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stats_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtp/src/auto/rtp_base_payload.rs b/gstreamer-rtp/src/auto/rtp_base_payload.rs index 7831a8ecd..ba19acd7f 100644 --- a/gstreamer-rtp/src/auto/rtp_base_payload.rs +++ b/gstreamer-rtp/src/auto/rtp_base_payload.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] use crate::RTPHeaderExtension; @@ -315,7 +316,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"add-extension\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( add_extension_trampoline:: as *const (), )), Box_::into_raw(f), @@ -351,7 +352,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"clear-extensions\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( clear_extensions_trampoline:: as *const (), )), Box_::into_raw(f), @@ -396,7 +397,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"request-extension\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( request_extension_trampoline:: as *const (), )), Box_::into_raw(f), @@ -427,7 +428,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::auto-header-extension\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_auto_header_extension_trampoline:: as *const (), )), Box_::into_raw(f), @@ -456,7 +457,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::max-ptime\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_ptime_trampoline:: as *const (), )), Box_::into_raw(f), @@ -485,7 +486,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::min-ptime\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_ptime_trampoline:: as *const (), )), Box_::into_raw(f), @@ -511,7 +512,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::mtu\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mtu_trampoline:: as *const (), )), Box_::into_raw(f), @@ -542,7 +543,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::onvif-no-rate-control\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_onvif_no_rate_control_trampoline:: as *const (), )), Box_::into_raw(f), @@ -571,7 +572,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::perfect-rtptime\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_perfect_rtptime_trampoline:: as *const (), )), Box_::into_raw(f), @@ -597,7 +598,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::pt\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pt_trampoline:: as *const (), )), Box_::into_raw(f), @@ -626,7 +627,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::ptime-multiple\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ptime_multiple_trampoline:: as *const (), )), Box_::into_raw(f), @@ -657,7 +658,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::scale-rtptime\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_rtptime_trampoline:: as *const (), )), Box_::into_raw(f), @@ -683,7 +684,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::seqnum\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_seqnum_trampoline:: as *const (), )), Box_::into_raw(f), @@ -712,7 +713,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::seqnum-offset\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_seqnum_offset_trampoline:: as *const (), )), Box_::into_raw(f), @@ -743,7 +744,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::source-info\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_source_info_trampoline:: as *const (), )), Box_::into_raw(f), @@ -769,7 +770,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::ssrc\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ssrc_trampoline:: as *const (), )), Box_::into_raw(f), @@ -795,7 +796,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::stats\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stats_trampoline:: as *const (), )), Box_::into_raw(f), @@ -824,7 +825,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::timestamp\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timestamp_trampoline:: as *const (), )), Box_::into_raw(f), @@ -853,7 +854,7 @@ pub trait RTPBasePayloadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::timestamp-offset\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timestamp_offset_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtp/src/auto/rtp_header_extension.rs b/gstreamer-rtp/src/auto/rtp_header_extension.rs index 377792e31..be96f1c94 100644 --- a/gstreamer-rtp/src/auto/rtp_header_extension.rs +++ b/gstreamer-rtp/src/auto/rtp_header_extension.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{RTPHeaderExtensionDirection, RTPHeaderExtensionFlags}; +use crate::{ffi, RTPHeaderExtensionDirection, RTPHeaderExtensionFlags}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-rtp/src/auto/versions.txt +++ b/gstreamer-rtp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-rtp/sys/src/auto/versions.txt b/gstreamer-rtp/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-rtp/sys/src/auto/versions.txt +++ b/gstreamer-rtp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-rtsp-server/src/auto/enums.rs b/gstreamer-rtsp-server/src/auto/enums.rs index 253be8541..4a0037eba 100644 --- a/gstreamer-rtsp-server/src/auto/enums.rs +++ b/gstreamer-rtsp-server/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gstreamer-rtsp-server/src/auto/flags.rs b/gstreamer-rtsp-server/src/auto/flags.rs index 733af4971..5a439bc4b 100644 --- a/gstreamer-rtsp-server/src/auto/flags.rs +++ b/gstreamer-rtsp-server/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*}; bitflags! { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_address.rs b/gstreamer-rtsp-server/src/auto/rtsp_address.rs index 32b76a684..d4501467e 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_address.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_address.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs index 8a2ed6111..88e385528 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{RTSPAddress, RTSPAddressFlags}; +use crate::{ffi, RTSPAddress, RTSPAddressFlags}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs index 067afe70f..de8f7a259 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::RTSPToken; +use crate::{ffi, RTSPToken}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -261,7 +261,7 @@ pub trait RTSPAuthExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"accept-certificate\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( accept_certificate_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtsp-server/src/auto/rtsp_client.rs b/gstreamer-rtsp-server/src/auto/rtsp_client.rs index b96154c50..c8116b40a 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_client.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_client.rs @@ -7,7 +7,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use crate::RTSPStreamTransport; use crate::{ - RTSPAuth, RTSPContext, RTSPFilterResult, RTSPMountPoints, RTSPSession, RTSPSessionPool, + ffi, RTSPAuth, RTSPContext, RTSPFilterResult, RTSPMountPoints, RTSPSession, RTSPSessionPool, RTSPThreadPool, }; use glib::{ @@ -280,7 +280,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"announce-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( announce_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -310,7 +310,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"closed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( closed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -342,7 +342,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"describe-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( describe_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -374,7 +374,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"get-parameter-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( get_parameter_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -406,7 +406,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"handle-response\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( handle_response_trampoline:: as *const (), )), Box_::into_raw(f), @@ -438,7 +438,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"new-session\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( new_session_trampoline:: as *const (), )), Box_::into_raw(f), @@ -470,7 +470,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"options-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( options_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -502,7 +502,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pause-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pause_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -534,7 +534,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"play-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( play_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -569,7 +569,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pre-announce-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pre_announce_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -604,7 +604,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pre-describe-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pre_describe_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -639,7 +639,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pre-get-parameter-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pre_get_parameter_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -674,7 +674,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pre-options-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pre_options_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -709,7 +709,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pre-pause-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pre_pause_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -744,7 +744,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pre-play-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pre_play_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -779,7 +779,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pre-record-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pre_record_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -814,7 +814,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pre-set-parameter-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pre_set_parameter_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -849,7 +849,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pre-setup-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pre_setup_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -884,7 +884,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pre-teardown-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pre_teardown_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -916,7 +916,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"record-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( record_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -953,7 +953,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"set-parameter-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( set_parameter_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -985,7 +985,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"setup-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( setup_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1017,7 +1017,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"teardown-request\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( teardown_request_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1046,7 +1046,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::drop-backlog\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_drop_backlog_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1075,7 +1075,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::mount-points\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mount_points_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1104,7 +1104,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::post-session-timeout\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_post_session_timeout_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1133,7 +1133,7 @@ pub trait RTSPClientExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::session-pool\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_session_pool_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_media.rs index b2f554d37..73c7f8f8c 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media.rs @@ -4,7 +4,7 @@ // DO NOT EDIT use crate::{ - RTSPAddressPool, RTSPMediaStatus, RTSPPublishClockMode, RTSPStream, RTSPStreamTransport, + ffi, RTSPAddressPool, RTSPMediaStatus, RTSPPublishClockMode, RTSPStream, RTSPStreamTransport, RTSPSuspendMode, RTSPThread, RTSPTransportMode, }; use glib::{ @@ -837,7 +837,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, signal_name.as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( handle_message_trampoline:: as *const (), )), Box_::into_raw(f), @@ -866,7 +866,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"new-state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( new_state_trampoline:: as *const (), )), Box_::into_raw(f), @@ -898,7 +898,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"new-stream\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( new_stream_trampoline:: as *const (), )), Box_::into_raw(f), @@ -923,7 +923,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"prepared\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( prepared_trampoline:: as *const (), )), Box_::into_raw(f), @@ -955,7 +955,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"removed-stream\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( removed_stream_trampoline:: as *const (), )), Box_::into_raw(f), @@ -984,7 +984,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"target-state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( target_state_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1009,7 +1009,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"unprepared\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( unprepared_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1038,7 +1038,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::bind-mcast-address\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_bind_mcast_address_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1067,7 +1067,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::buffer-size\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffer_size_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1093,7 +1093,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::clock\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_clock_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1122,7 +1122,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::dscp-qos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_dscp_qos_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1153,7 +1153,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::ensure-keyunit-on-start\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ensure_keyunit_on_start_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1184,7 +1184,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::ensure-keyunit-on-start-timeout\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ensure_keyunit_on_start_timeout_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1213,7 +1213,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::eos-shutdown\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_eos_shutdown_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1242,7 +1242,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::latency\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_latency_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1271,7 +1271,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::max-mcast-ttl\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_mcast_ttl_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1300,7 +1300,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::profiles\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_profiles_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1329,7 +1329,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::protocols\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_protocols_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1358,7 +1358,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::reusable\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_reusable_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1384,7 +1384,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::shared\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shared_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1413,7 +1413,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::stop-on-disconnect\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stop_on_disconnect_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1442,7 +1442,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::suspend-mode\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_suspend_mode_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1471,7 +1471,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::time-provider\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_time_provider_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1500,7 +1500,7 @@ pub trait RTSPMediaExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::transport-mode\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transport_mode_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs index 2542565d6..2e729abb9 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs @@ -3,7 +3,9 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{RTSPAddressPool, RTSPMedia, RTSPPublishClockMode, RTSPSuspendMode, RTSPTransportMode}; +use crate::{ + ffi, RTSPAddressPool, RTSPMedia, RTSPPublishClockMode, RTSPSuspendMode, RTSPTransportMode, +}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -600,7 +602,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"media-configure\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( media_configure_trampoline:: as *const (), )), Box_::into_raw(f), @@ -632,7 +634,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"media-constructed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( media_constructed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -661,7 +663,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::bind-mcast-address\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_bind_mcast_address_trampoline:: as *const (), )), Box_::into_raw(f), @@ -690,7 +692,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::buffer-size\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffer_size_trampoline:: as *const (), )), Box_::into_raw(f), @@ -716,7 +718,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::clock\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_clock_trampoline:: as *const (), )), Box_::into_raw(f), @@ -745,7 +747,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::dscp-qos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_dscp_qos_trampoline:: as *const (), )), Box_::into_raw(f), @@ -776,7 +778,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::enable-rtcp\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_rtcp_trampoline:: as *const (), )), Box_::into_raw(f), @@ -807,7 +809,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::ensure-keyunit-on-start\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ensure_keyunit_on_start_trampoline:: as *const (), )), Box_::into_raw(f), @@ -838,7 +840,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::ensure-keyunit-on-start-timeout\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ensure_keyunit_on_start_timeout_trampoline:: as *const (), )), Box_::into_raw(f), @@ -867,7 +869,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::eos-shutdown\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_eos_shutdown_trampoline:: as *const (), )), Box_::into_raw(f), @@ -896,7 +898,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::latency\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_latency_trampoline:: as *const (), )), Box_::into_raw(f), @@ -922,7 +924,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::launch\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_launch_trampoline:: as *const (), )), Box_::into_raw(f), @@ -951,7 +953,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::max-mcast-ttl\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_mcast_ttl_trampoline:: as *const (), )), Box_::into_raw(f), @@ -980,7 +982,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::profiles\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_profiles_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1009,7 +1011,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::protocols\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_protocols_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1035,7 +1037,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::shared\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shared_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1064,7 +1066,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::stop-on-disconnect\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stop_on_disconnect_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1093,7 +1095,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::suspend-mode\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_suspend_mode_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1122,7 +1124,7 @@ pub trait RTSPMediaFactoryExt: IsA + sealed::Sealed + 'static connect_raw( self.as_ptr() as *mut _, b"notify::transport-mode\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transport_mode_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs b/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs index c4f223aca..b260ca287 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::RTSPMediaFactory; +use crate::{ffi, RTSPMediaFactory}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -93,7 +93,7 @@ pub trait RTSPMediaFactoryURIExt: IsA + sealed::Sealed + 's connect_raw( self.as_ptr() as *mut _, b"notify::uri\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_uri_trampoline:: as *const (), )), Box_::into_raw(f), @@ -122,7 +122,7 @@ pub trait RTSPMediaFactoryURIExt: IsA + sealed::Sealed + 's connect_raw( self.as_ptr() as *mut _, b"notify::use-gstpay\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_gstpay_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs index f3d170d8b..27f2aab57 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::RTSPMediaFactory; +use crate::{ffi, RTSPMediaFactory}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_onvif_client.rs b/gstreamer-rtsp-server/src/auto/rtsp_onvif_client.rs index c70b41383..4767cdde0 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_onvif_client.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_onvif_client.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::RTSPClient; +use crate::{ffi, RTSPClient}; #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use glib::{prelude::*, translate::*}; diff --git a/gstreamer-rtsp-server/src/auto/rtsp_onvif_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_onvif_media.rs index 0b0f66173..63a0e9bd4 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_onvif_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_onvif_media.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::RTSPMedia; +use crate::{ffi, RTSPMedia}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_onvif_media_factory.rs b/gstreamer-rtsp-server/src/auto/rtsp_onvif_media_factory.rs index c6d6590e1..1b0189196 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_onvif_media_factory.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_onvif_media_factory.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::RTSPMediaFactory; +use crate::{ffi, RTSPMediaFactory}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_onvif_server.rs b/gstreamer-rtsp-server/src/auto/rtsp_onvif_server.rs index 170291385..a5330d514 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_onvif_server.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_onvif_server.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::RTSPServer; +use crate::{ffi, RTSPServer}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_server.rs b/gstreamer-rtsp-server/src/auto/rtsp_server.rs index 3da9406eb..77af5e70f 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_server.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_server.rs @@ -4,7 +4,7 @@ // DO NOT EDIT use crate::{ - RTSPAuth, RTSPClient, RTSPFilterResult, RTSPMountPoints, RTSPSessionPool, RTSPThreadPool, + ffi, RTSPAuth, RTSPClient, RTSPFilterResult, RTSPMountPoints, RTSPSessionPool, RTSPThreadPool, }; use glib::{ prelude::*, @@ -358,7 +358,7 @@ pub trait RTSPServerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"client-connected\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( client_connected_trampoline:: as *const (), )), Box_::into_raw(f), @@ -387,7 +387,7 @@ pub trait RTSPServerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::address\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_address_trampoline:: as *const (), )), Box_::into_raw(f), @@ -416,7 +416,7 @@ pub trait RTSPServerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::backlog\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_backlog_trampoline:: as *const (), )), Box_::into_raw(f), @@ -445,7 +445,7 @@ pub trait RTSPServerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::bound-port\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_bound_port_trampoline:: as *const (), )), Box_::into_raw(f), @@ -474,7 +474,7 @@ pub trait RTSPServerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::content-length-limit\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_content_length_limit_trampoline:: as *const (), )), Box_::into_raw(f), @@ -503,7 +503,7 @@ pub trait RTSPServerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::mount-points\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mount_points_trampoline:: as *const (), )), Box_::into_raw(f), @@ -532,7 +532,7 @@ pub trait RTSPServerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::service\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_service_trampoline:: as *const (), )), Box_::into_raw(f), @@ -561,7 +561,7 @@ pub trait RTSPServerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::session-pool\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_session_pool_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session.rs b/gstreamer-rtsp-server/src/auto/rtsp_session.rs index 971fe89b5..5b62842c5 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{RTSPFilterResult, RTSPMedia, RTSPSessionMedia}; +use crate::{ffi, RTSPFilterResult, RTSPMedia, RTSPSessionMedia}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -227,7 +227,7 @@ pub trait RTSPSessionExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::extra-timeout\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_extra_timeout_trampoline:: as *const (), )), Box_::into_raw(f), @@ -256,7 +256,7 @@ pub trait RTSPSessionExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::timeout\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timeout_trampoline:: as *const (), )), Box_::into_raw(f), @@ -285,7 +285,7 @@ pub trait RTSPSessionExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::timeout-always-visible\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timeout_always_visible_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs index eda9c4f96..299363751 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{RTSPMedia, RTSPStreamTransport}; +use crate::{ffi, RTSPMedia, RTSPStreamTransport}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs index 68c208019..0642826fa 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{RTSPFilterResult, RTSPSession}; +use crate::{ffi, RTSPFilterResult, RTSPSession}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -169,7 +169,7 @@ pub trait RTSPSessionPoolExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"session-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( session_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -198,7 +198,7 @@ pub trait RTSPSessionPoolExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::max-sessions\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_sessions_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs index f211fcfcd..6bc287814 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs @@ -4,7 +4,7 @@ // DO NOT EDIT use crate::{ - RTSPAddress, RTSPAddressPool, RTSPFilterResult, RTSPPublishClockMode, RTSPStreamTransport, + ffi, RTSPAddress, RTSPAddressPool, RTSPFilterResult, RTSPPublishClockMode, RTSPStreamTransport, }; use glib::{ prelude::*, @@ -990,7 +990,7 @@ pub trait RTSPStreamExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"new-rtcp-encoder\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( new_rtcp_encoder_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1022,7 +1022,7 @@ pub trait RTSPStreamExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"new-rtp-encoder\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( new_rtp_encoder_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1054,7 +1054,7 @@ pub trait RTSPStreamExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"new-rtp-rtcp-decoder\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( new_rtp_rtcp_decoder_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1083,7 +1083,7 @@ pub trait RTSPStreamExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::control\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_control_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1112,7 +1112,7 @@ pub trait RTSPStreamExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::profiles\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_profiles_trampoline:: as *const (), )), Box_::into_raw(f), @@ -1141,7 +1141,7 @@ pub trait RTSPStreamExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::protocols\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_protocols_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs index b19a5442f..1966064e5 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::RTSPStream; +use crate::{ffi, RTSPStream}; use glib::{prelude::*, translate::*}; use std::boxed::Box as Box_; diff --git a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs index d59706d60..d8c47e2fd 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{RTSPContext, RTSPThread, RTSPThreadType}; +use crate::{ffi, RTSPContext, RTSPThread, RTSPThreadType}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -99,7 +99,7 @@ pub trait RTSPThreadPoolExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::max-threads\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_threads_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-rtsp-server/src/auto/versions.txt +++ b/gstreamer-rtsp-server/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-rtsp-server/sys/src/auto/versions.txt b/gstreamer-rtsp-server/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-rtsp-server/sys/src/auto/versions.txt +++ b/gstreamer-rtsp-server/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-rtsp/src/auto/enums.rs b/gstreamer-rtsp/src/auto/enums.rs index 62bde0253..4293ce7a4 100644 --- a/gstreamer-rtsp/src/auto/enums.rs +++ b/gstreamer-rtsp/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gstreamer-rtsp/src/auto/flags.rs b/gstreamer-rtsp/src/auto/flags.rs index a3312b0f9..05ae2e884 100644 --- a/gstreamer-rtsp/src/auto/flags.rs +++ b/gstreamer-rtsp/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*}; bitflags! { diff --git a/gstreamer-rtsp/src/auto/rtsp_auth_credential.rs b/gstreamer-rtsp/src/auto/rtsp_auth_credential.rs index 86f2d80db..a22edd6db 100644 --- a/gstreamer-rtsp/src/auto/rtsp_auth_credential.rs +++ b/gstreamer-rtsp/src/auto/rtsp_auth_credential.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct RTSPAuthCredential(Boxed); diff --git a/gstreamer-rtsp/src/auto/rtsp_auth_param.rs b/gstreamer-rtsp/src/auto/rtsp_auth_param.rs index 792b4ebb8..98b62c4c3 100644 --- a/gstreamer-rtsp/src/auto/rtsp_auth_param.rs +++ b/gstreamer-rtsp/src/auto/rtsp_auth_param.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-rtsp/src/auto/rtsp_url.rs b/gstreamer-rtsp/src/auto/rtsp_url.rs index 477df2a2b..0440ac30b 100644 --- a/gstreamer-rtsp/src/auto/rtsp_url.rs +++ b/gstreamer-rtsp/src/auto/rtsp_url.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::RTSPResult; +use crate::{ffi, RTSPResult}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-rtsp/src/auto/versions.txt +++ b/gstreamer-rtsp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-rtsp/sys/src/auto/versions.txt b/gstreamer-rtsp/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-rtsp/sys/src/auto/versions.txt +++ b/gstreamer-rtsp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-sdp/src/auto/versions.txt +++ b/gstreamer-sdp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-sdp/sys/src/auto/versions.txt b/gstreamer-sdp/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-sdp/sys/src/auto/versions.txt +++ b/gstreamer-sdp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-tag/sys/src/auto/versions.txt b/gstreamer-tag/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-tag/sys/src/auto/versions.txt +++ b/gstreamer-tag/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-validate/src/auto/action_type.rs b/gstreamer-validate/src/auto/action_type.rs index 8051325e4..ebefedb83 100644 --- a/gstreamer-validate/src/auto/action_type.rs +++ b/gstreamer-validate/src/auto/action_type.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct ActionType(Boxed); diff --git a/gstreamer-validate/src/auto/bin_monitor.rs b/gstreamer-validate/src/auto/bin_monitor.rs index a81902d2b..149cd3d7f 100644 --- a/gstreamer-validate/src/auto/bin_monitor.rs +++ b/gstreamer-validate/src/auto/bin_monitor.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{ElementMonitor, Monitor, Reporter, Runner, Scenario}; +use crate::{ffi, ElementMonitor, Monitor, Reporter, Runner, Scenario}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -85,7 +85,7 @@ pub trait BinMonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::handles-states\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_handles_states_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-validate/src/auto/element_monitor.rs b/gstreamer-validate/src/auto/element_monitor.rs index 25118b044..eb2ad567c 100644 --- a/gstreamer-validate/src/auto/element_monitor.rs +++ b/gstreamer-validate/src/auto/element_monitor.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Monitor, Reporter, Runner}; +use crate::{ffi, Monitor, Reporter, Runner}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-validate/src/auto/enums.rs b/gstreamer-validate/src/auto/enums.rs index e5519a72a..cfba10366 100644 --- a/gstreamer-validate/src/auto/enums.rs +++ b/gstreamer-validate/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*, GStr}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gstreamer-validate/src/auto/flags.rs b/gstreamer-validate/src/auto/flags.rs index 85e856466..2ed416b9a 100644 --- a/gstreamer-validate/src/auto/flags.rs +++ b/gstreamer-validate/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*}; bitflags! { diff --git a/gstreamer-validate/src/auto/issue.rs b/gstreamer-validate/src/auto/issue.rs index 08ffc7146..417e09572 100644 --- a/gstreamer-validate/src/auto/issue.rs +++ b/gstreamer-validate/src/auto/issue.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::ReportLevel; +use crate::{ffi, ReportLevel}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-validate/src/auto/monitor.rs b/gstreamer-validate/src/auto/monitor.rs index da8a64e8b..30a6e9129 100644 --- a/gstreamer-validate/src/auto/monitor.rs +++ b/gstreamer-validate/src/auto/monitor.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Reporter, Runner}; +use crate::{ffi, Reporter, Runner}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -141,7 +141,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::pipeline\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pipeline_trampoline:: as *const (), )), Box_::into_raw(f), @@ -170,7 +170,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::verbosity\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_verbosity_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-validate/src/auto/pad_monitor.rs b/gstreamer-validate/src/auto/pad_monitor.rs index de7fa6666..ef0b38d4c 100644 --- a/gstreamer-validate/src/auto/pad_monitor.rs +++ b/gstreamer-validate/src/auto/pad_monitor.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{ElementMonitor, Monitor, Reporter, Runner}; +use crate::{ffi, ElementMonitor, Monitor, Reporter, Runner}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-validate/src/auto/pipeline_monitor.rs b/gstreamer-validate/src/auto/pipeline_monitor.rs index 5276f99bb..c3e77e914 100644 --- a/gstreamer-validate/src/auto/pipeline_monitor.rs +++ b/gstreamer-validate/src/auto/pipeline_monitor.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{BinMonitor, ElementMonitor, Monitor, Reporter, Runner}; +use crate::{ffi, BinMonitor, ElementMonitor, Monitor, Reporter, Runner}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-validate/src/auto/report.rs b/gstreamer-validate/src/auto/report.rs index d9edb9cd3..ab13d2485 100644 --- a/gstreamer-validate/src/auto/report.rs +++ b/gstreamer-validate/src/auto/report.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Issue, ReportLevel, Reporter, ReportingDetails}; +use crate::{ffi, Issue, ReportLevel, Reporter, ReportingDetails}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-validate/src/auto/reporter.rs b/gstreamer-validate/src/auto/reporter.rs index 17e1fa13c..1794dd8d4 100644 --- a/gstreamer-validate/src/auto/reporter.rs +++ b/gstreamer-validate/src/auto/reporter.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Report, ReportingDetails, Runner}; +use crate::{ffi, Report, ReportingDetails, Runner}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-validate/src/auto/runner.rs b/gstreamer-validate/src/auto/runner.rs index 6a4462445..22dacaf94 100644 --- a/gstreamer-validate/src/auto/runner.rs +++ b/gstreamer-validate/src/auto/runner.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Report, ReportingDetails}; +use crate::{ffi, Report, ReportingDetails}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -128,7 +128,7 @@ pub trait RunnerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"report-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( report_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -153,7 +153,7 @@ pub trait RunnerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"stopping\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( stopping_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-validate/src/auto/scenario.rs b/gstreamer-validate/src/auto/scenario.rs index d7c6a9c76..26e81d322 100644 --- a/gstreamer-validate/src/auto/scenario.rs +++ b/gstreamer-validate/src/auto/scenario.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Action, Reporter, Runner}; +use crate::{ffi, Action, Reporter, Runner}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -125,7 +125,7 @@ pub trait ScenarioExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"action-done\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( action_done_trampoline:: as *const (), )), Box_::into_raw(f), @@ -147,7 +147,7 @@ pub trait ScenarioExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"done\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( done_trampoline:: as *const (), )), Box_::into_raw(f), @@ -173,7 +173,7 @@ pub trait ScenarioExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::execute-on-idle\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_execute_on_idle_trampoline:: as *const (), )), Box_::into_raw(f), @@ -199,7 +199,7 @@ pub trait ScenarioExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::handles-states\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_handles_states_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-validate/src/auto/versions.txt b/gstreamer-validate/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-validate/src/auto/versions.txt +++ b/gstreamer-validate/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-validate/sys/src/auto/versions.txt b/gstreamer-validate/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-validate/sys/src/auto/versions.txt +++ b/gstreamer-validate/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-video/src/auto/color_balance.rs b/gstreamer-video/src/auto/color_balance.rs index d6579cd62..0a3070afc 100644 --- a/gstreamer-video/src/auto/color_balance.rs +++ b/gstreamer-video/src/auto/color_balance.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{ColorBalanceChannel, ColorBalanceType}; +use crate::{ffi, ColorBalanceChannel, ColorBalanceType}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -111,7 +111,7 @@ pub trait ColorBalanceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"value-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( value_changed_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-video/src/auto/color_balance_channel.rs b/gstreamer-video/src/auto/color_balance_channel.rs index 92495d67a..ad035abc7 100644 --- a/gstreamer-video/src/auto/color_balance_channel.rs +++ b/gstreamer-video/src/auto/color_balance_channel.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -56,7 +57,7 @@ pub trait ColorBalanceChannelExt: IsA + sealed::Sealed + 's connect_raw( self.as_ptr() as *mut _, b"value-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( value_changed_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-video/src/auto/enums.rs b/gstreamer-video/src/auto/enums.rs index 0ba0018e8..8279352f1 100644 --- a/gstreamer-video/src/auto/enums.rs +++ b/gstreamer-video/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*, GStr}; #[cfg(feature = "v1_24")] diff --git a/gstreamer-video/src/auto/flags.rs b/gstreamer-video/src/auto/flags.rs index db8aaec6e..01e4b6d06 100644 --- a/gstreamer-video/src/auto/flags.rs +++ b/gstreamer-video/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*}; #[cfg(feature = "v1_22")] diff --git a/gstreamer-video/src/auto/navigation.rs b/gstreamer-video/src/auto/navigation.rs index cc79ab506..eeb644fa5 100644 --- a/gstreamer-video/src/auto/navigation.rs +++ b/gstreamer-video/src/auto/navigation.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::NavigationCommand; +use crate::{ffi, NavigationCommand}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-video/src/auto/versions.txt +++ b/gstreamer-video/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-video/src/auto/video_aggregator.rs b/gstreamer-video/src/auto/video_aggregator.rs index 9a9c2c9c7..ef5abbaeb 100644 --- a/gstreamer-video/src/auto/video_aggregator.rs +++ b/gstreamer-video/src/auto/video_aggregator.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::prelude::*; glib::wrapper! { diff --git a/gstreamer-video/src/auto/video_aggregator_convert_pad.rs b/gstreamer-video/src/auto/video_aggregator_convert_pad.rs index 078d8ab90..95ca1026b 100644 --- a/gstreamer-video/src/auto/video_aggregator_convert_pad.rs +++ b/gstreamer-video/src/auto/video_aggregator_convert_pad.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::VideoAggregatorPad; +use crate::{ffi, VideoAggregatorPad}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-video/src/auto/video_aggregator_pad.rs b/gstreamer-video/src/auto/video_aggregator_pad.rs index 085b667ee..b14fb8925 100644 --- a/gstreamer-video/src/auto/video_aggregator_pad.rs +++ b/gstreamer-video/src/auto/video_aggregator_pad.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -95,7 +96,7 @@ pub trait VideoAggregatorPadExt: IsA + sealed::Sealed + 'sta connect_raw( self.as_ptr() as *mut _, b"notify::max-last-buffer-repeat\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_last_buffer_repeat_trampoline:: as *const (), )), Box_::into_raw(f), @@ -124,7 +125,7 @@ pub trait VideoAggregatorPadExt: IsA + sealed::Sealed + 'sta connect_raw( self.as_ptr() as *mut _, b"notify::repeat-after-eos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_repeat_after_eos_trampoline:: as *const (), )), Box_::into_raw(f), @@ -150,7 +151,7 @@ pub trait VideoAggregatorPadExt: IsA + sealed::Sealed + 'sta connect_raw( self.as_ptr() as *mut _, b"notify::zorder\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_zorder_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-video/src/auto/video_aggregator_parallel_convert_pad.rs b/gstreamer-video/src/auto/video_aggregator_parallel_convert_pad.rs index da0c886a7..575420f3a 100644 --- a/gstreamer-video/src/auto/video_aggregator_parallel_convert_pad.rs +++ b/gstreamer-video/src/auto/video_aggregator_parallel_convert_pad.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{VideoAggregatorConvertPad, VideoAggregatorPad}; +use crate::{ffi, VideoAggregatorConvertPad, VideoAggregatorPad}; glib::wrapper! { #[doc(alias = "GstVideoAggregatorParallelConvertPad")] diff --git a/gstreamer-video/src/auto/video_buffer_pool.rs b/gstreamer-video/src/auto/video_buffer_pool.rs index ab3c0c837..6422de328 100644 --- a/gstreamer-video/src/auto/video_buffer_pool.rs +++ b/gstreamer-video/src/auto/video_buffer_pool.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-video/src/auto/video_decoder.rs b/gstreamer-video/src/auto/video_decoder.rs index e63af43aa..5109b18fc 100644 --- a/gstreamer-video/src/auto/video_decoder.rs +++ b/gstreamer-video/src/auto/video_decoder.rs @@ -3,10 +3,10 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::VideoCodecFrame; #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] use crate::VideoDecoderRequestSyncPointFlags; +use crate::{ffi, VideoCodecFrame}; #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use glib::signal::{connect_raw, SignalHandlerId}; @@ -441,7 +441,7 @@ pub trait VideoDecoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::automatic-request-sync-point-flags\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_automatic_request_sync_point_flags_trampoline:: as *const (), )), Box_::into_raw(f), @@ -472,7 +472,7 @@ pub trait VideoDecoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::automatic-request-sync-points\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_automatic_request_sync_points_trampoline:: as *const (), )), Box_::into_raw(f), @@ -503,7 +503,7 @@ pub trait VideoDecoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::discard-corrupted-frames\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_discard_corrupted_frames_trampoline:: as *const (), )), Box_::into_raw(f), @@ -534,7 +534,7 @@ pub trait VideoDecoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::max-errors\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_errors_trampoline:: as *const (), )), Box_::into_raw(f), @@ -565,7 +565,7 @@ pub trait VideoDecoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::min-force-key-unit-interval\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_force_key_unit_interval_trampoline:: as *const (), )), Box_::into_raw(f), @@ -593,7 +593,7 @@ pub trait VideoDecoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::qos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_qos_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-video/src/auto/video_encoder.rs b/gstreamer-video/src/auto/video_encoder.rs index ea43b97f8..ade1b564e 100644 --- a/gstreamer-video/src/auto/video_encoder.rs +++ b/gstreamer-video/src/auto/video_encoder.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::VideoCodecFrame; +use crate::{ffi, VideoCodecFrame}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -170,7 +170,7 @@ pub trait VideoEncoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::min-force-key-unit-interval\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_force_key_unit_interval_trampoline:: as *const (), )), Box_::into_raw(f), @@ -196,7 +196,7 @@ pub trait VideoEncoderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::qos\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_qos_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-video/src/auto/video_filter.rs b/gstreamer-video/src/auto/video_filter.rs index a1d552be6..f081e2a39 100644 --- a/gstreamer-video/src/auto/video_filter.rs +++ b/gstreamer-video/src/auto/video_filter.rs @@ -3,6 +3,8 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GstVideoFilter")] pub struct VideoFilter(Object) @extends gst_base::BaseTransform, gst::Element, gst::Object; diff --git a/gstreamer-video/src/auto/video_orientation.rs b/gstreamer-video/src/auto/video_orientation.rs index 5bacfa658..b1e2df1bf 100644 --- a/gstreamer-video/src/auto/video_orientation.rs +++ b/gstreamer-video/src/auto/video_orientation.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-video/src/auto/video_overlay.rs b/gstreamer-video/src/auto/video_overlay.rs index dcc5758cb..662dc05f1 100644 --- a/gstreamer-video/src/auto/video_overlay.rs +++ b/gstreamer-video/src/auto/video_overlay.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-video/src/auto/video_sink.rs b/gstreamer-video/src/auto/video_sink.rs index 22f4aaafe..c4891e376 100644 --- a/gstreamer-video/src/auto/video_sink.rs +++ b/gstreamer-video/src/auto/video_sink.rs @@ -4,6 +4,7 @@ // DO NOT EDIT #![allow(deprecated)] +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -64,7 +65,7 @@ pub trait VideoSinkExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::show-preroll-frame\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_preroll_frame_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-video/sys/src/auto/versions.txt b/gstreamer-video/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-video/sys/src/auto/versions.txt +++ b/gstreamer-video/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-webrtc/src/auto/enums.rs b/gstreamer-webrtc/src/auto/enums.rs index 66219ea5f..ebd78c416 100644 --- a/gstreamer-webrtc/src/auto/enums.rs +++ b/gstreamer-webrtc/src/auto/enums.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*, GStr}; #[cfg(feature = "v1_16")] diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-webrtc/src/auto/versions.txt +++ b/gstreamer-webrtc/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs index 8ade0c925..97cc894cc 100644 --- a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs +++ b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{WebRTCDataChannelState, WebRTCPriorityType}; +use crate::{ffi, WebRTCDataChannelState, WebRTCPriorityType}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -154,7 +154,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"close\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( close_trampoline:: as *const (), )), Box_::into_raw(f), @@ -185,7 +185,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"on-buffered-amount-low\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( on_buffered_amount_low_trampoline:: as *const (), )), Box_::into_raw(f), @@ -209,7 +209,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"on-close\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( on_close_trampoline:: as *const (), )), Box_::into_raw(f), @@ -237,7 +237,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"on-error\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( on_error_trampoline:: as *const (), )), Box_::into_raw(f), @@ -270,7 +270,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"on-message-data\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( on_message_data_trampoline:: as *const (), )), Box_::into_raw(f), @@ -304,7 +304,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"on-message-string\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( on_message_string_trampoline:: as *const (), )), Box_::into_raw(f), @@ -328,7 +328,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"on-open\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( on_open_trampoline:: as *const (), )), Box_::into_raw(f), @@ -361,7 +361,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"send-data\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( send_data_trampoline:: as *const (), )), Box_::into_raw(f), @@ -399,7 +399,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"send-string\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( send_string_trampoline:: as *const (), )), Box_::into_raw(f), @@ -431,7 +431,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"notify::buffered-amount\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffered_amount_trampoline:: as *const (), )), Box_::into_raw(f), @@ -459,7 +459,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"notify::buffered-amount-low-threshold\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffered_amount_low_threshold_trampoline:: as *const (), )), Box_::into_raw(f), @@ -487,7 +487,7 @@ impl WebRTCDataChannel { connect_raw( self.as_ptr() as *mut _, b"notify::ready-state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ready_state_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-webrtc/src/auto/web_rtc_session_description.rs b/gstreamer-webrtc/src/auto/web_rtc_session_description.rs index f14d06547..30396076c 100644 --- a/gstreamer-webrtc/src/auto/web_rtc_session_description.rs +++ b/gstreamer-webrtc/src/auto/web_rtc_session_description.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs index 42e40254d..a979dd6d7 100644 --- a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{WebRTCDTLSTransportState, WebRTCICETransport}; +use crate::{ffi, WebRTCDTLSTransportState, WebRTCICETransport}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -75,7 +75,7 @@ impl WebRTCDTLSTransport { connect_raw( self.as_ptr() as *mut _, b"notify::certificate\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_certificate_trampoline:: as *const (), )), Box_::into_raw(f), @@ -103,7 +103,7 @@ impl WebRTCDTLSTransport { connect_raw( self.as_ptr() as *mut _, b"notify::client\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_client_trampoline:: as *const (), )), Box_::into_raw(f), @@ -131,7 +131,7 @@ impl WebRTCDTLSTransport { connect_raw( self.as_ptr() as *mut _, b"notify::remote-certificate\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_remote_certificate_trampoline:: as *const (), )), Box_::into_raw(f), @@ -159,7 +159,7 @@ impl WebRTCDTLSTransport { connect_raw( self.as_ptr() as *mut _, b"notify::state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_state_trampoline:: as *const (), )), Box_::into_raw(f), @@ -187,7 +187,7 @@ impl WebRTCDTLSTransport { connect_raw( self.as_ptr() as *mut _, b"notify::transport\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transport_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-webrtc/src/auto/web_rtcice.rs b/gstreamer-webrtc/src/auto/web_rtcice.rs index eea24a5b0..c8342954b 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice.rs @@ -3,7 +3,9 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{WebRTCICECandidateStats, WebRTCICEComponent, WebRTCICEStream, WebRTCICETransport}; +use crate::{ + ffi, WebRTCICECandidateStats, WebRTCICEComponent, WebRTCICEStream, WebRTCICETransport, +}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -346,7 +348,7 @@ pub trait WebRTCICEExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"add-local-ip-address\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( add_local_ip_address_trampoline:: as *const (), )), Box_::into_raw(f), @@ -381,7 +383,7 @@ pub trait WebRTCICEExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::max-rtp-port\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_rtp_port_trampoline:: as *const (), )), Box_::into_raw(f), @@ -412,7 +414,7 @@ pub trait WebRTCICEExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::min-rtp-port\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_rtp_port_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-webrtc/src/auto/web_rtcice_candidate_stats.rs b/gstreamer-webrtc/src/auto/web_rtcice_candidate_stats.rs index d81b3a96c..8412704fd 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice_candidate_stats.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice_candidate_stats.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer-webrtc/src/auto/web_rtcice_stream.rs b/gstreamer-webrtc/src/auto/web_rtcice_stream.rs index a6d3eaafe..80345b625 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice_stream.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice_stream.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{WebRTCICEComponent, WebRTCICETransport}; +use crate::{ffi, WebRTCICEComponent, WebRTCICETransport}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs index 8ca935a9c..067391b5d 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{WebRTCICEComponent, WebRTCICEConnectionState, WebRTCICEGatheringState}; +use crate::{ffi, WebRTCICEComponent, WebRTCICEConnectionState, WebRTCICEGatheringState}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -96,7 +96,7 @@ impl WebRTCICETransport { connect_raw( self.as_ptr() as *mut _, b"on-new-candidate\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( on_new_candidate_trampoline:: as *const (), )), Box_::into_raw(f), @@ -123,7 +123,7 @@ impl WebRTCICETransport { connect_raw( self.as_ptr() as *mut _, b"on-selected-candidate-pair-change\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( on_selected_candidate_pair_change_trampoline:: as *const (), )), Box_::into_raw(f), @@ -151,7 +151,7 @@ impl WebRTCICETransport { connect_raw( self.as_ptr() as *mut _, b"notify::gathering-state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gathering_state_trampoline:: as *const (), )), Box_::into_raw(f), @@ -179,7 +179,7 @@ impl WebRTCICETransport { connect_raw( self.as_ptr() as *mut _, b"notify::state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_state_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs index edd9c7d10..d489d31d9 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] use crate::WebRTCDTLSTransport; @@ -55,7 +56,7 @@ impl WebRTCRTPReceiver { connect_raw( self.as_ptr() as *mut _, b"notify::transport\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transport_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs index 85090b940..646475e29 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] use crate::{WebRTCDTLSTransport, WebRTCPriorityType}; @@ -70,7 +71,7 @@ impl WebRTCRTPSender { connect_raw( self.as_ptr() as *mut _, b"notify::priority\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_priority_trampoline:: as *const (), )), Box_::into_raw(f), @@ -100,7 +101,7 @@ impl WebRTCRTPSender { connect_raw( self.as_ptr() as *mut _, b"notify::transport\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transport_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs index d7a371c40..c44134aa4 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs @@ -9,7 +9,7 @@ use crate::WebRTCKind; #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use crate::WebRTCRTPTransceiverDirection; -use crate::{WebRTCRTPReceiver, WebRTCRTPSender}; +use crate::{ffi, WebRTCRTPReceiver, WebRTCRTPSender}; #[cfg(feature = "v1_18")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))] use glib::signal::{connect_raw, SignalHandlerId}; @@ -107,7 +107,7 @@ impl WebRTCRTPTransceiver { connect_raw( self.as_ptr() as *mut _, b"notify::codec-preferences\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_codec_preferences_trampoline:: as *const (), )), Box_::into_raw(f), @@ -137,7 +137,7 @@ impl WebRTCRTPTransceiver { connect_raw( self.as_ptr() as *mut _, b"notify::current-direction\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_direction_trampoline:: as *const (), )), Box_::into_raw(f), @@ -167,7 +167,7 @@ impl WebRTCRTPTransceiver { connect_raw( self.as_ptr() as *mut _, b"notify::direction\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_direction_trampoline:: as *const (), )), Box_::into_raw(f), @@ -197,7 +197,7 @@ impl WebRTCRTPTransceiver { connect_raw( self.as_ptr() as *mut _, b"notify::kind\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_kind_trampoline:: as *const (), )), Box_::into_raw(f), @@ -227,7 +227,7 @@ impl WebRTCRTPTransceiver { connect_raw( self.as_ptr() as *mut _, b"notify::mid\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mid_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-webrtc/src/auto/web_rtcsctp_transport.rs b/gstreamer-webrtc/src/auto/web_rtcsctp_transport.rs index 854bbbd91..85eb17448 100644 --- a/gstreamer-webrtc/src/auto/web_rtcsctp_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcsctp_transport.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{WebRTCDTLSTransport, WebRTCSCTPTransportState}; +use crate::{ffi, WebRTCDTLSTransport, WebRTCSCTPTransportState}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -59,7 +59,7 @@ impl WebRTCSCTPTransport { connect_raw( self.as_ptr() as *mut _, b"notify::max-channels\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_channels_trampoline:: as *const (), )), Box_::into_raw(f), @@ -87,7 +87,7 @@ impl WebRTCSCTPTransport { connect_raw( self.as_ptr() as *mut _, b"notify::max-message-size\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_message_size_trampoline:: as *const (), )), Box_::into_raw(f), @@ -115,7 +115,7 @@ impl WebRTCSCTPTransport { connect_raw( self.as_ptr() as *mut _, b"notify::state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_state_trampoline:: as *const (), )), Box_::into_raw(f), @@ -143,7 +143,7 @@ impl WebRTCSCTPTransport { connect_raw( self.as_ptr() as *mut _, b"notify::transport\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transport_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer-webrtc/sys/src/auto/versions.txt b/gstreamer-webrtc/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer-webrtc/sys/src/auto/versions.txt +++ b/gstreamer-webrtc/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer/src/auto/allocator.rs b/gstreamer/src/auto/allocator.rs index 9705869e8..15c8ff881 100644 --- a/gstreamer/src/auto/allocator.rs +++ b/gstreamer/src/auto/allocator.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{AllocationParams, Memory, Object}; +use crate::{ffi, AllocationParams, Memory, Object}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index 59e6e069c..40e6dd13b 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{ChildProxy, Element, ElementFlags, Object, Pad, PadDirection}; +use crate::{ffi, ChildProxy, Element, ElementFlags, Object, Pad, PadDirection}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -185,7 +185,7 @@ pub trait GstBinExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"deep-element-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( deep_element_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -219,7 +219,7 @@ pub trait GstBinExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"deep-element-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( deep_element_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -251,7 +251,7 @@ pub trait GstBinExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"element-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( element_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -283,7 +283,7 @@ pub trait GstBinExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"element-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( element_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -312,7 +312,7 @@ pub trait GstBinExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::async-handling\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_async_handling_trampoline:: as *const (), )), Box_::into_raw(f), @@ -341,7 +341,7 @@ pub trait GstBinExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::message-forward\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_message_forward_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/buffer_pool.rs b/gstreamer/src/auto/buffer_pool.rs index 43d16b30e..527f906d1 100644 --- a/gstreamer/src/auto/buffer_pool.rs +++ b/gstreamer/src/auto/buffer_pool.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Buffer, Object}; +use crate::{ffi, Buffer, Object}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index fbabd9b2d..bab0c3986 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{ClockTime, Message, Object}; +use crate::{ffi, ClockTime, Message, Object}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -147,7 +147,7 @@ impl Bus { connect_raw( self.as_ptr() as *mut _, signal_name.as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( message_trampoline:: as *const (), )), Box_::into_raw(f), @@ -180,7 +180,7 @@ impl Bus { connect_raw( self.as_ptr() as *mut _, signal_name.as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( sync_message_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index 548204124..d1ef20e96 100644 --- a/gstreamer/src/auto/child_proxy.rs +++ b/gstreamer/src/auto/child_proxy.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -142,7 +143,7 @@ pub trait ChildProxyExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"child-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( child_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -176,7 +177,7 @@ pub trait ChildProxyExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"child-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( child_removed_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index 5ba09fb15..5e6a92ba3 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{ClockTime, Object}; +use crate::{ffi, ClockTime, Object}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -340,7 +340,7 @@ pub trait ClockExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"synced\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( synced_trampoline:: as *const (), )), Box_::into_raw(f), @@ -369,7 +369,7 @@ pub trait ClockExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::timeout\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timeout_trampoline:: as *const (), )), Box_::into_raw(f), @@ -398,7 +398,7 @@ pub trait ClockExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::window-size\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_window_size_trampoline:: as *const (), )), Box_::into_raw(f), @@ -427,7 +427,7 @@ pub trait ClockExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::window-threshold\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_window_threshold_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/control_binding.rs b/gstreamer/src/auto/control_binding.rs index b9ddb8cd8..d8c76a1cc 100644 --- a/gstreamer/src/auto/control_binding.rs +++ b/gstreamer/src/auto/control_binding.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{ClockTime, Object}; +use crate::{ffi, ClockTime, Object}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/control_source.rs b/gstreamer/src/auto/control_source.rs index 2da8abd49..91dfeec0f 100644 --- a/gstreamer/src/auto/control_source.rs +++ b/gstreamer/src/auto/control_source.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{ClockTime, Object}; +use crate::{ffi, ClockTime, Object}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/date_time.rs b/gstreamer/src/auto/date_time.rs index 887a42baa..f6c0c7361 100644 --- a/gstreamer/src/auto/date_time.rs +++ b/gstreamer/src/auto/date_time.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index 794e50aa1..a7e73a658 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Caps, Element, Object, Structure}; +use crate::{ffi, Caps, Element, Object, Structure}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -133,7 +133,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( removed_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/device_monitor.rs b/gstreamer/src/auto/device_monitor.rs index 0563e97a6..51e30902d 100644 --- a/gstreamer/src/auto/device_monitor.rs +++ b/gstreamer/src/auto/device_monitor.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Bus, Object}; +use crate::{ffi, Bus, Object}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -133,7 +133,7 @@ pub trait DeviceMonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::show-all\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_all_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 0dd5a0033..69e19ecc9 100644 --- a/gstreamer/src/auto/device_provider.rs +++ b/gstreamer/src/auto/device_provider.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Bus, Device, DeviceProviderFactory, Object}; +use crate::{ffi, Bus, Device, DeviceProviderFactory, Object}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -177,7 +177,7 @@ pub trait DeviceProviderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"provider-hidden\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( provider_hidden_trampoline:: as *const (), )), Box_::into_raw(f), @@ -209,7 +209,7 @@ pub trait DeviceProviderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"provider-unhidden\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( provider_unhidden_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/device_provider_factory.rs b/gstreamer/src/auto/device_provider_factory.rs index 10db790e3..0adb3a249 100644 --- a/gstreamer/src/auto/device_provider_factory.rs +++ b/gstreamer/src/auto/device_provider_factory.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{DeviceProvider, Object, PluginFeature}; +use crate::{ffi, DeviceProvider, Object, PluginFeature}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index a65fdc374..13e2dd382 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -5,8 +5,8 @@ #![allow(deprecated)] use crate::{ - Bus, Caps, Clock, ClockTime, Context, ElementFactory, Message, Object, Pad, PadTemplate, State, - StateChange, StateChangeError, StateChangeReturn, StateChangeSuccess, URIType, + ffi, Bus, Caps, Clock, ClockTime, Context, ElementFactory, Message, Object, Pad, PadTemplate, + State, StateChange, StateChangeError, StateChangeReturn, StateChangeSuccess, URIType, }; use glib::{ prelude::*, @@ -511,7 +511,7 @@ pub trait ElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"no-more-pads\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( no_more_pads_trampoline:: as *const (), )), Box_::into_raw(f), @@ -543,7 +543,7 @@ pub trait ElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pad-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pad_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -575,7 +575,7 @@ pub trait ElementExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"pad-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pad_removed_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/element_factory.rs b/gstreamer/src/auto/element_factory.rs index c3b196853..3cf14c054 100644 --- a/gstreamer/src/auto/element_factory.rs +++ b/gstreamer/src/auto/element_factory.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Object, PluginFeature, URIType}; +use crate::{ffi, Object, PluginFeature, URIType}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer/src/auto/enums.rs b/gstreamer/src/auto/enums.rs index bbfc797a2..3a2a9eb68 100644 --- a/gstreamer/src/auto/enums.rs +++ b/gstreamer/src/auto/enums.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::EventTypeFlags; +use crate::{ffi, EventTypeFlags}; use glib::{prelude::*, translate::*, GStr}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gstreamer/src/auto/flags.rs b/gstreamer/src/auto/flags.rs index c394600c5..0f8715909 100644 --- a/gstreamer/src/auto/flags.rs +++ b/gstreamer/src/auto/flags.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*, GStr}; bitflags! { diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index 40f84b061..3e2907eb6 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Bin, ClockTime, DebugGraphDetails, DebugLevel, Element, StackTraceFlags}; +use crate::{ffi, Bin, ClockTime, DebugGraphDetails, DebugLevel, Element, StackTraceFlags}; use glib::{prelude::*, translate::*}; #[doc(alias = "gst_debug_add_ring_buffer_logger")] diff --git a/gstreamer/src/auto/ghost_pad.rs b/gstreamer/src/auto/ghost_pad.rs index 1d3f178de..c4d8fedfe 100644 --- a/gstreamer/src/auto/ghost_pad.rs +++ b/gstreamer/src/auto/ghost_pad.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Object, Pad, ProxyPad}; +use crate::{ffi, Object, Pad, ProxyPad}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 4d4189044..11ad9e273 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{ClockTime, ControlBinding}; +use crate::{ffi, ClockTime, ControlBinding}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -296,7 +296,7 @@ pub trait GstObjectExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::parent\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_parent_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index ac4dac502..569c8b818 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -4,7 +4,7 @@ // DO NOT EDIT use crate::{ - Buffer, BufferList, Caps, Element, Event, FlowError, FlowSuccess, Object, PadDirection, + ffi, Buffer, BufferList, Caps, Element, Event, FlowError, FlowSuccess, Object, PadDirection, PadLinkCheck, PadLinkError, PadLinkSuccess, PadMode, PadTemplate, Stream, TaskState, }; use glib::{ @@ -516,7 +516,7 @@ pub trait PadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"linked\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( linked_trampoline:: as *const (), )), Box_::into_raw(f), @@ -548,7 +548,7 @@ pub trait PadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"unlinked\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( unlinked_trampoline:: as *const (), )), Box_::into_raw(f), @@ -574,7 +574,7 @@ pub trait PadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::caps\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_caps_trampoline:: as *const (), )), Box_::into_raw(f), @@ -600,7 +600,7 @@ pub trait PadExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::offset\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_offset_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index cff9ceb8c..413ba1639 100644 --- a/gstreamer/src/auto/pad_template.rs +++ b/gstreamer/src/auto/pad_template.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Caps, Object, Pad, PadDirection, PadPresence}; +use crate::{ffi, Caps, Object, Pad, PadDirection, PadPresence}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -89,7 +89,7 @@ impl PadTemplate { connect_raw( self.as_ptr() as *mut _, b"pad-created\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pad_created_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index 1f7e43d99..44d0e595f 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Bin, ChildProxy, Clock, ClockTime, Element, Object}; +use crate::{ffi, Bin, ChildProxy, Clock, ClockTime, Element, Object}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -156,7 +156,7 @@ pub trait PipelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::auto-flush-bus\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_auto_flush_bus_trampoline:: as *const (), )), Box_::into_raw(f), @@ -182,7 +182,7 @@ pub trait PipelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::delay\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_delay_trampoline:: as *const (), )), Box_::into_raw(f), @@ -211,7 +211,7 @@ pub trait PipelineExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::latency\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_latency_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index 79dfc8a83..f1224674c 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Object, PluginDependencyFlags, Structure}; +use crate::{ffi, Object, PluginDependencyFlags, Structure}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer/src/auto/plugin_feature.rs b/gstreamer/src/auto/plugin_feature.rs index 9a9cda9f8..7879f50ef 100644 --- a/gstreamer/src/auto/plugin_feature.rs +++ b/gstreamer/src/auto/plugin_feature.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Object, Plugin}; +use crate::{ffi, Object, Plugin}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/preset.rs b/gstreamer/src/auto/preset.rs index 055195d2d..de7b8ad06 100644 --- a/gstreamer/src/auto/preset.rs +++ b/gstreamer/src/auto/preset.rs @@ -3,6 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/proxy_pad.rs b/gstreamer/src/auto/proxy_pad.rs index 72f39f5b3..739e3f8a4 100644 --- a/gstreamer/src/auto/proxy_pad.rs +++ b/gstreamer/src/auto/proxy_pad.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Object, Pad}; +use crate::{ffi, Object, Pad}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/registry.rs b/gstreamer/src/auto/registry.rs index f6275c871..20d1995e1 100644 --- a/gstreamer/src/auto/registry.rs +++ b/gstreamer/src/auto/registry.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Object, Plugin, PluginFeature}; +use crate::{ffi, Object, Plugin, PluginFeature}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -166,7 +166,7 @@ impl Registry { connect_raw( self.as_ptr() as *mut _, b"feature-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( feature_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -194,7 +194,7 @@ impl Registry { connect_raw( self.as_ptr() as *mut _, b"plugin-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( plugin_added_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/stream.rs b/gstreamer/src/auto/stream.rs index d8e301056..ee8aa3ca8 100644 --- a/gstreamer/src/auto/stream.rs +++ b/gstreamer/src/auto/stream.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Caps, Object, StreamFlags, StreamType, TagList}; +use crate::{ffi, Caps, Object, StreamFlags, StreamType, TagList}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -115,7 +115,7 @@ impl Stream { connect_raw( self.as_ptr() as *mut _, b"notify::caps\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_caps_trampoline:: as *const (), )), Box_::into_raw(f), @@ -143,7 +143,7 @@ impl Stream { connect_raw( self.as_ptr() as *mut _, b"notify::stream-flags\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stream_flags_trampoline:: as *const (), )), Box_::into_raw(f), @@ -171,7 +171,7 @@ impl Stream { connect_raw( self.as_ptr() as *mut _, b"notify::stream-type\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stream_type_trampoline:: as *const (), )), Box_::into_raw(f), @@ -197,7 +197,7 @@ impl Stream { connect_raw( self.as_ptr() as *mut _, b"notify::tags\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tags_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/stream_collection.rs b/gstreamer/src/auto/stream_collection.rs index de424df12..0a2f1a37f 100644 --- a/gstreamer/src/auto/stream_collection.rs +++ b/gstreamer/src/auto/stream_collection.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Object, Stream}; +use crate::{ffi, Object, Stream}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index 9410a24e9..73b7b8afb 100644 --- a/gstreamer/src/auto/system_clock.rs +++ b/gstreamer/src/auto/system_clock.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Clock, ClockType, Object}; +use crate::{ffi, Clock, ClockType, Object}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -78,7 +78,7 @@ pub trait SystemClockExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::clock-type\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_clock_type_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/tag_setter.rs b/gstreamer/src/auto/tag_setter.rs index 9d12375a3..bace964d3 100644 --- a/gstreamer/src/auto/tag_setter.rs +++ b/gstreamer/src/auto/tag_setter.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Element, Object, TagList, TagMergeMode}; +use crate::{ffi, Element, Object, TagList, TagMergeMode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/task.rs b/gstreamer/src/auto/task.rs index 68b08df88..35e61cb6c 100644 --- a/gstreamer/src/auto/task.rs +++ b/gstreamer/src/auto/task.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Object, TaskPool, TaskState}; +use crate::{ffi, Object, TaskPool, TaskState}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/task_pool.rs b/gstreamer/src/auto/task_pool.rs index 189c64d1a..a3d070a9b 100644 --- a/gstreamer/src/auto/task_pool.rs +++ b/gstreamer/src/auto/task_pool.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::Object; +use crate::{ffi, Object}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/toc_setter.rs b/gstreamer/src/auto/toc_setter.rs index e0a65a6bf..069cfe771 100644 --- a/gstreamer/src/auto/toc_setter.rs +++ b/gstreamer/src/auto/toc_setter.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Element, Object, Toc}; +use crate::{ffi, Element, Object, Toc}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/tracer.rs b/gstreamer/src/auto/tracer.rs index 2aabef6ec..c1d2b8859 100644 --- a/gstreamer/src/auto/tracer.rs +++ b/gstreamer/src/auto/tracer.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::Object; +use crate::{ffi, Object}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, @@ -59,7 +59,7 @@ pub trait TracerExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::params\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_params_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gstreamer/src/auto/tracer_factory.rs b/gstreamer/src/auto/tracer_factory.rs index a428e44f3..fe918933a 100644 --- a/gstreamer/src/auto/tracer_factory.rs +++ b/gstreamer/src/auto/tracer_factory.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Object, PluginFeature}; +use crate::{ffi, Object, PluginFeature}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer/src/auto/type_find_factory.rs b/gstreamer/src/auto/type_find_factory.rs index ed7789da9..0ffa6f86b 100644 --- a/gstreamer/src/auto/type_find_factory.rs +++ b/gstreamer/src/auto/type_find_factory.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::{Caps, Object, PluginFeature}; +use crate::{ffi, Caps, Object, PluginFeature}; use glib::translate::*; glib::wrapper! { diff --git a/gstreamer/src/auto/uri_handler.rs b/gstreamer/src/auto/uri_handler.rs index c2b95cead..2b6476934 100644 --- a/gstreamer/src/auto/uri_handler.rs +++ b/gstreamer/src/auto/uri_handler.rs @@ -3,7 +3,7 @@ // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) // DO NOT EDIT -use crate::URIType; +use crate::{ffi, URIType}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer/src/auto/versions.txt +++ b/gstreamer/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99) diff --git a/gstreamer/sys/src/auto/versions.txt b/gstreamer/sys/src/auto/versions.txt index 4752bfb37..ce28b7504 100644 --- a/gstreamer/sys/src/auto/versions.txt +++ b/gstreamer/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) +Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5) from gir-files (https://github.com/gtk-rs/gir-files @ 6cd7b656acd6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ c988e03b5e99)