Debian Codegraph @

gcc/testsuite/rust/compile/macros/mbe/macro21.rs

raw
1 macro_rules! c_fn {
2 {$name:ident ($($arg_name:ident $arg_ty:ty),*) -> $ret_ty:ty} => {
3 fn $name($($arg_name: $arg_ty)*) -> $ret_ty;
4 };
5 }
6
7 extern "C" {
8 c_fn! {puts (s *const i8) -> i64}
9 }