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

用最短的代码引入文件名、行号

  1. 仅函数名
  2. 函数名 + 补充信息
  3. 函数名 + 补充信息, 直接构造