14 lines
270 B
Rust
14 lines
270 B
Rust
#![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")));
|
|
}
|