Fix missed ExtManual imports from macros

This commit is contained in:
Sebastian Dröge 2021-04-26 14:56:12 +03:00
parent 1a07bfc710
commit 5d11bba67e
2 changed files with 12 additions and 12 deletions

View file

@ -175,7 +175,7 @@ impl<O: IsA<AudioDecoder>> AudioDecoderExtManual for O {
#[macro_export] #[macro_export]
macro_rules! audio_decoder_error( macro_rules! audio_decoder_error(
($obj:expr, $weight:expr, $err:expr, ($msg:expr), [$debug:expr]) => { { ($obj:expr, $weight:expr, $err:expr, ($msg:expr), [$debug:expr]) => { {
use $crate::AudioDecoderExtManual; use $crate::prelude::AudioDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,
@ -187,7 +187,7 @@ macro_rules! audio_decoder_error(
) )
}}; }};
($obj:expr, $weight:expr, $err:expr, ($msg:expr)) => { { ($obj:expr, $weight:expr, $err:expr, ($msg:expr)) => { {
use $crate::AudioDecoderExtManual; use $crate::prelude::AudioDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,
@ -199,7 +199,7 @@ macro_rules! audio_decoder_error(
) )
}}; }};
($obj:expr, $weight:expr, $err:expr, [$debug:expr]) => { { ($obj:expr, $weight:expr, $err:expr, [$debug:expr]) => { {
use $crate::AudioDecoderExtManual; use $crate::prelude::AudioDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,
@ -211,7 +211,7 @@ macro_rules! audio_decoder_error(
) )
}}; }};
($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*), [$($debug:tt)*]) => { { ($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*), [$($debug:tt)*]) => { {
use $crate::AudioDecoderExtManual; use $crate::prelude::AudioDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,
@ -223,7 +223,7 @@ macro_rules! audio_decoder_error(
) )
}}; }};
($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*)) => { { ($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*)) => { {
use $crate::AudioDecoderExtManual; use $crate::prelude::AudioDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,
@ -235,7 +235,7 @@ macro_rules! audio_decoder_error(
) )
}}; }};
($obj:expr, $weight:expr, $err:expr, [$($debug:tt)*]) => { { ($obj:expr, $weight:expr, $err:expr, [$($debug:tt)*]) => { {
use $crate::AudioDecoderExtManual; use $crate::prelude::AudioDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,

View file

@ -353,7 +353,7 @@ impl HasStreamLock for VideoDecoder {
#[macro_export] #[macro_export]
macro_rules! video_decoder_error( macro_rules! video_decoder_error(
($obj:expr, $weight:expr, $err:expr, ($msg:expr), [$debug:expr]) => { { ($obj:expr, $weight:expr, $err:expr, ($msg:expr), [$debug:expr]) => { {
use $crate::VideoDecoderExtManual; use $crate::prelude::VideoDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,
@ -365,7 +365,7 @@ macro_rules! video_decoder_error(
) )
}}; }};
($obj:expr, $weight:expr, $err:expr, ($msg:expr)) => { { ($obj:expr, $weight:expr, $err:expr, ($msg:expr)) => { {
use $crate::VideoDecoderExtManual; use $crate::prelude::VideoDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,
@ -377,7 +377,7 @@ macro_rules! video_decoder_error(
) )
}}; }};
($obj:expr, $weight:expr, $err:expr, [$debug:expr]) => { { ($obj:expr, $weight:expr, $err:expr, [$debug:expr]) => { {
use $crate::VideoDecoderExtManual; use $crate::prelude::VideoDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,
@ -389,7 +389,7 @@ macro_rules! video_decoder_error(
) )
}}; }};
($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*), [$($debug:tt)*]) => { { ($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*), [$($debug:tt)*]) => { {
use $crate::VideoDecoderExtManual; use $crate::prelude::VideoDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,
@ -401,7 +401,7 @@ macro_rules! video_decoder_error(
) )
}}; }};
($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*)) => { { ($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*)) => { {
use $crate::VideoDecoderExtManual; use $crate::prelude::VideoDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,
@ -413,7 +413,7 @@ macro_rules! video_decoder_error(
) )
}}; }};
($obj:expr, $weight:expr, $err:expr, [$($debug:tt)*]) => { { ($obj:expr, $weight:expr, $err:expr, [$($debug:tt)*]) => { {
use $crate::VideoDecoderExtManual; use $crate::prelude::VideoDecoderExtManual;
$obj.error( $obj.error(
$weight, $weight,
$err, $err,