Generate missing doc aliases

This commit is contained in:
Guillaume Gomez 2021-06-02 17:35:30 +02:00
parent 7fcd560d18
commit 96266ff922
2 changed files with 2 additions and 0 deletions

View file

@ -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;

View file

@ -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,