File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,6 @@ ffi_error!(SettingResult, Error::Setting);
251
251
252
252
#[ allow( non_snake_case) ]
253
253
extern "stdcall" {
254
-
255
254
#[ link_name = "WinDns_Initialize" ]
256
255
pub fn WinDns_Initialize (
257
256
sink : Option < LogSink > ,
Original file line number Diff line number Diff line change @@ -330,11 +330,11 @@ pub type LoggingCallback = unsafe extern "system" fn(
330
330
) ;
331
331
332
332
extern "C" {
333
- // Creates a new wireguard tunnel, uses the specific interface name, MTU and file descriptors
334
- // for the tunnel device and logging.
335
- //
336
- // Positive return values are tunnel handles for this specific wireguard tunnel instance.
337
- // Negative return values signify errors. All error codes are opaque.
333
+ /// Creates a new wireguard tunnel, uses the specific interface name, MTU and file descriptors
334
+ /// for the tunnel device and logging.
335
+ ///
336
+ /// Positive return values are tunnel handles for this specific wireguard tunnel instance.
337
+ /// Negative return values signify errors. All error codes are opaque.
338
338
#[ cfg( not( any( target_os = "android" , target_os = "windows" ) ) ) ]
339
339
fn wgTurnOn (
340
340
mtu : isize ,
You can’t perform that action at this time.
0 commit comments