File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ macro_rules! callback {
1717 //};
1818 { $n: ident, $m: ident( $( $arg: ident: $ty: ty) ,* ) -> $ret: ty } => {
1919 pub trait $n: Send + Sync {
20+ #[ allow( dead_code) ]
2021 unsafe extern "C" fn call_mut( user_data: * mut :: mbedtls_sys:: types:: raw_types:: c_void, $( $arg: $ty) ,* ) -> $ret where Self : Sized ;
2122
23+ #[ allow( dead_code) ]
2224 fn data_ptr_mut( & mut self ) -> * mut :: mbedtls_sys:: types:: raw_types:: c_void;
2325 }
2426
@@ -33,8 +35,10 @@ macro_rules! callback {
3335 }
3436
3537 pub trait $m: Send + Sync {
38+ #[ allow( dead_code) ]
3639 unsafe extern "C" fn call( user_data: * mut :: mbedtls_sys:: types:: raw_types:: c_void, $( $arg: $ty) ,* ) -> $ret where Self : Sized ;
3740
41+ #[ allow( dead_code) ]
3842 fn data_ptr( & self ) -> * mut :: mbedtls_sys:: types:: raw_types:: c_void;
3943 }
4044
You can’t perform that action at this time.
0 commit comments