| 1 | mod immutable; |
|---|---|
| 2 | pub use self::immutable::Ref; |
| 3 | |
| 4 | mod mutable; |
| 5 | pub use self::mutable::Ref as Mut; |
| 6 | |
| 7 | mod owned; |
| 8 | pub use self::owned::Owned; |
| 9 | |
| 10 | mod iter; |
| 11 | pub use self::iter::Iter; |
| 12 | |
| 13 | #[macro_export] |
| 14 | macro_rules! dict { |
| 15 | ( $($key:expr => $value:expr),* $(,)*) => ({ |
| 16 | let mut dict = ::ffmpeg::Dictionary::new(); |
| 17 | |
| 18 | $( |
| 19 | dict.set($key, $value); |
| 20 | )* |
| 21 | |
| 22 | dict |
| 23 | } |
| 24 | ); |
| 25 | } |
| 26 |
