blob: fbda3dbe9481f43ee53e2c15111f876be9b930bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![crate_type = "dylib"]
pub fn print(_args: std::fmt::Arguments) {}
#[macro_export]
macro_rules! myprint {
($($arg:tt)*) => ($crate::print(format_args!($($arg)*)));
}
#[macro_export]
macro_rules! myprintln {
($fmt:expr) => (myprint!(concat!($fmt, "\n")));
}
|