File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2084,18 +2084,22 @@ num_enum! {
20842084// --- unimplemented stubs below here ---
20852085
20862086macro_rules! entry_stub {
2087- ( pub fn $name: ident( $( $args : tt ) * ) ; ) => {
2087+ ( pub fn $name: ident( $( $aname : ident : $aty : ty ) , * $ ( , ) ? ) ; ) => {
20882088 #[ no_mangle]
2089- pub extern "C" fn $name( $( $args ) * ) {
2089+ pub extern "C" fn $name( $( $aname : $aty ) , * ) {
20902090 ffi_panic_boundary! {
2091+ #[ cfg( debug_assertions) ]
2092+ log:: trace!( "!! {}{:?}" , & stringify!( $name) [ 1 ..] , & ( $( $aname, ) * ) ) ;
20912093 Error :: not_supported( stringify!( $name) ) . raise( ) . into( )
20922094 }
20932095 }
20942096 } ;
2095- ( pub fn $name: ident( $( $args : tt ) * ) -> $ret: ty; ) => {
2097+ ( pub fn $name: ident( $( $aname : ident : $aty : ty ) , * $ ( , ) ? ) -> $ret: ty; ) => {
20962098 #[ no_mangle]
2097- pub extern "C" fn $name( $( $args ) * ) -> $ret {
2099+ pub extern "C" fn $name( $( $aname : $aty ) , * ) -> $ret {
20982100 ffi_panic_boundary! {
2101+ #[ cfg( debug_assertions) ]
2102+ log:: trace!( "!! {}{:?}" , & stringify!( $name) [ 1 ..] , & ( $( $aname, ) * ) ) ;
20992103 Error :: not_supported( stringify!( $name) ) . raise( ) . into( )
21002104 }
21012105 }
You can’t perform that action at this time.
0 commit comments