Skip to content

Commit f048f6e

Browse files
committed
Apply reviews
- Remove `Deprecated:` from `BridgeMode` - Link to official documentation of `vmnet_network_configuration_create` - Comment out the definition of `BridgeMode` Signed-off-by: Norio Nomura <norio.nomura@gmail.com>
1 parent 33858c0 commit f048f6e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

vmnet.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ type VmnetMode uint32
7373
const (
7474
HostMode VmnetMode = C.VMNET_HOST_MODE
7575
SharedMode VmnetMode = C.VMNET_SHARED_MODE
76-
// Deprecated: BridgedMode is not supported by NewVmnetNetworkConfiguration
77-
BridgedMode VmnetMode = C.VMNET_BRIDGED_MODE
76+
// BridgedMode is not supported by NewVmnetNetworkConfiguration
77+
// - https://developer.apple.com/documentation/vmnet/vmnet_network_configuration_create(_:_:)?language=objc#parameters
78+
// BridgedMode VmnetMode = C.VMNET_BRIDGED_MODE
7879
)
7980

8081
// VmnetNetworkConfiguration is configuration for the [VmnetNetwork].

0 commit comments

Comments
 (0)