Macro python_comm::m
source · [−]macro_rules! m {
($func:ident) => { ... };
($func:ident, $text:expr) => { ... };
($func:ident, $text:expr, "more") => { ... };
($func:ident, $text:expr, "result") => { ... };
}
Expand description
用最短的代码引入文件名、行号
- 仅函数名
- 函数名 + 补充信息
- 函数名 + 补充信息, 直接构造