36d31933f5ee8e7862e278446e41427fd5746fcc
[kaka/rust-sdl-test.git] / src / common / mod.rs
1 mod time;
2 pub use common::time::ScopeTimer;
3
4 #[macro_export]
5 macro_rules! hashmap {
6     ($($k:expr => $v:expr),*) => {
7         {
8             let mut map = std::collections::HashMap::new();
9             $(map.insert($k, $v);)*
10             map
11         }
12     }
13 }