@@ -80,12 +80,12 @@ macro_rules! impl_fn {
8080 type Output = Ret ;
8181
8282 type ArityMarker = impl_fn!( @arity_marker ( $( $ty) ,* ) ) ;
83- type SafetyMarker = $crate:: markers :: safety!( $safety) ;
84- type AbiMarker = $crate:: markers :: $abi_ident;
83+ type SafetyMarker = $crate:: safety!( $safety) ;
84+ type AbiMarker = $crate:: marker :: $abi_ident;
8585
86- const ARITY : :: core:: primitive:: usize = <Self :: ArityMarker as $crate:: markers :: Arity >:: N ;
87- const IS_SAFE : :: core:: primitive:: bool = <Self :: SafetyMarker as $crate:: markers :: Safety >:: IS_SAFE ;
88- const ABI : $crate:: Abi = <$crate:: markers :: $abi_ident as $crate:: markers :: Abi >:: KIND ;
86+ const ARITY : :: core:: primitive:: usize = <Self :: ArityMarker as $crate:: marker :: Arity >:: N ;
87+ const IS_SAFE : :: core:: primitive:: bool = <Self :: SafetyMarker as $crate:: marker :: Safety >:: IS_SAFE ;
88+ const ABI : $crate:: Abi = <$crate:: marker :: $abi_ident as $crate:: marker :: Abi >:: KIND ;
8989 const IS_EXTERN : :: core:: primitive:: bool = !matches!( Self :: ABI , $crate:: Abi :: Rust ) ;
9090
9191 fn as_ptr( & self ) -> $crate:: UntypedFnPtr {
@@ -104,17 +104,17 @@ macro_rules! impl_fn {
104104
105105 // WithSafety
106106 #[ automatically_derived]
107- impl <Ret , $( $ty) ,* > $crate:: WithSafety <$crate:: markers :: Safe > for $fn_type {
107+ impl <Ret , $( $ty) ,* > $crate:: WithSafety <$crate:: marker :: Safe > for $fn_type {
108108 type F = extern $call_conv fn ( $( $ty) ,* ) -> Ret ;
109109 }
110110 #[ automatically_derived]
111- impl <Ret , $( $ty) ,* > $crate:: WithSafety <$crate:: markers :: Unsafe > for $fn_type {
111+ impl <Ret , $( $ty) ,* > $crate:: WithSafety <$crate:: marker :: Unsafe > for $fn_type {
112112 type F = unsafe extern $call_conv fn ( $( $ty) ,* ) -> Ret ;
113113 }
114114
115115 // HasAbi
116116 #[ automatically_derived]
117- impl <Ret , $( $ty) ,* > $crate:: HasAbi <$crate:: markers :: $abi_ident> for $fn_type { }
117+ impl <Ret , $( $ty) ,* > $crate:: HasAbi <$crate:: marker :: $abi_ident> for $fn_type { }
118118
119119 // WithAbi
120120 impl_fn!( @impl_withabi ( $( $nm : $ty) ,* ) , $fn_type, $safety, "Rust" ) ;
@@ -166,24 +166,24 @@ macro_rules! impl_fn {
166166
167167 ( @impl_withabi ( $( $nm: ident : $ty: ident) ,* ) , $fn_type: ty, $safety: tt, $abi: tt) => {
168168 #[ automatically_derived]
169- impl <Ret , $( $ty) ,* > $crate:: WithAbi <$crate:: markers :: abi!( $abi) > for $fn_type {
169+ impl <Ret , $( $ty) ,* > $crate:: WithAbi <$crate:: abi!( $abi) > for $fn_type {
170170 type F = impl_fn!( @make_unsafe extern $abi fn ( $( $ty) ,* ) -> Ret , $safety) ;
171171 }
172172 } ;
173173
174- ( @arity_marker ( ) ) => { $crate:: markers :: A0 } ;
175- ( @arity_marker ( $a: ty) ) => { $crate:: markers :: A1 } ;
176- ( @arity_marker ( $a: ty, $b: ty) ) => { $crate:: markers :: A2 } ;
177- ( @arity_marker ( $a: ty, $b: ty, $c: ty) ) => { $crate:: markers :: A3 } ;
178- ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty) ) => { $crate:: markers :: A4 } ;
179- ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty) ) => { $crate:: markers :: A5 } ;
180- ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty) ) => { $crate:: markers :: A6 } ;
181- ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty) ) => { $crate:: markers :: A7 } ;
182- ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty, $h: ty) ) => { $crate:: markers :: A8 } ;
183- ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty, $h: ty, $i: ty) ) => { $crate:: markers :: A9 } ;
184- ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty, $h: ty, $i: ty, $j: ty) ) => { $crate:: markers :: A10 } ;
185- ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty, $h: ty, $i: ty, $j: ty, $k: ty) ) => { $crate:: markers :: A11 } ;
186- ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty, $h: ty, $i: ty, $j: ty, $k: ty, $l: ty) ) => { $crate:: markers :: A12 } ;
174+ ( @arity_marker ( ) ) => { $crate:: marker :: A0 } ;
175+ ( @arity_marker ( $a: ty) ) => { $crate:: marker :: A1 } ;
176+ ( @arity_marker ( $a: ty, $b: ty) ) => { $crate:: marker :: A2 } ;
177+ ( @arity_marker ( $a: ty, $b: ty, $c: ty) ) => { $crate:: marker :: A3 } ;
178+ ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty) ) => { $crate:: marker :: A4 } ;
179+ ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty) ) => { $crate:: marker :: A5 } ;
180+ ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty) ) => { $crate:: marker :: A6 } ;
181+ ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty) ) => { $crate:: marker :: A7 } ;
182+ ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty, $h: ty) ) => { $crate:: marker :: A8 } ;
183+ ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty, $h: ty, $i: ty) ) => { $crate:: marker :: A9 } ;
184+ ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty, $h: ty, $i: ty, $j: ty) ) => { $crate:: marker :: A10 } ;
185+ ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty, $h: ty, $i: ty, $j: ty, $k: ty) ) => { $crate:: marker :: A11 } ;
186+ ( @arity_marker ( $a: ty, $b: ty, $c: ty, $d: ty, $e: ty, $f: ty, $g: ty, $h: ty, $i: ty, $j: ty, $k: ty, $l: ty) ) => { $crate:: marker :: A12 } ;
187187
188188 ( @make_unsafe $fn_type: ty, true ) => { $fn_type } ;
189189 ( @make_unsafe extern $abi: literal fn ( $( $args: ty) ,* ) -> $ret: ty, false ) => {
0 commit comments