From 96266ff922fe7b1e5e2fde899c377f3d18be7425 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 2 Jun 2021 17:35:30 +0200 Subject: [PATCH] Generate missing doc aliases --- gstreamer/src/element_factory_list_type.rs | 1 + gstreamer/src/enums.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/gstreamer/src/element_factory_list_type.rs b/gstreamer/src/element_factory_list_type.rs index a36427ba6..c1654fd7a 100644 --- a/gstreamer/src/element_factory_list_type.rs +++ b/gstreamer/src/element_factory_list_type.rs @@ -4,6 +4,7 @@ use bitflags::bitflags; use glib::translate::*; bitflags! { + #[doc(alias = "GstElementFactoryListType")] pub struct ElementFactoryListType: u64 { const DECODER = 0b_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0001; const ENCODER = 0b_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0010; diff --git a/gstreamer/src/enums.rs b/gstreamer/src/enums.rs index 64b1dc549..fa20365b3 100644 --- a/gstreamer/src/enums.rs +++ b/gstreamer/src/enums.rs @@ -426,6 +426,7 @@ pub enum TagError { // This cannot be done automatically because in GStreamer it's exposed as a bitflag but works as an // enum instead #[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)] +#[doc(alias = "GstMessageType")] pub enum MessageType { #[doc(alias = "GST_MESSAGE_UNKNOWN")] Unknown,