Merge branch 'fix-id_str-macro' into 'main'

id_str: macro: refer to `IdStr` with full path

See merge request gstreamer/gstreamer-rs!1778
This commit is contained in:
François Laignel 2025-08-19 14:12:09 +02:00
commit 67a99f1e4d
2 changed files with 1 additions and 2 deletions

View file

@ -44,7 +44,7 @@ mod serde;
#[macro_export]
macro_rules! idstr {
($s:literal) => {
IdStr::from_static($crate::glib::gstr!($s))
$crate::IdStr::from_static($crate::glib::gstr!($s))
};
}

View file

@ -22,7 +22,6 @@ impl<'de> Deserialize<'de> for IdStr {
#[cfg(test)]
mod tests {
use super::*;
use crate::idstr;
#[test]