Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Network] Update to Xcode 10 beta 3. (#4686)
Adds the new functions added in beta 3 and cleans some of the xtro files.
- Loading branch information
1 parent
20edb35
commit 2838b98
Showing
20 changed files
with
136 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using ObjCRuntime; | ||
using Foundation; | ||
using CoreFoundation; | ||
|
||
namespace Network { | ||
|
||
[TV (12,0), Mac (10,14 ,onlyOn64: true), iOS (12,0)] | ||
public enum NWErrorDomain { | ||
Invalid = 0, | ||
[Field ("kNWErrorDomainPOSIX")] | ||
Posix = 1, | ||
[Field ("kNWErrorDomainDNS")] | ||
Dns = 2, | ||
[Field ("kNWErrorDomainTLS")] | ||
Tls = 3, | ||
} | ||
|
||
[TV (12,0), Mac (10,14 ,onlyOn64: true), iOS (12,0)] | ||
[Static] | ||
[Internal] | ||
partial interface NWContentContextConstants { | ||
[Field ("_nw_content_context_default_message")] | ||
IntPtr _DefaultMessage { get; } | ||
|
||
[Field ("_nw_content_context_final_send")] | ||
IntPtr _FinalSend { get; } | ||
|
||
[Field ("_nw_content_context_default_stream")] | ||
IntPtr _DefaultStream { get; } | ||
} | ||
|
||
[TV (12,0), Mac (10,14 ,onlyOn64: true), iOS (12,0)] | ||
[Static] | ||
[Internal] | ||
partial interface NWConnectionConstants { | ||
|
||
[Field ("_nw_connection_send_idempotent_content")] | ||
IntPtr _SendIdempotentContent { get; } | ||
} | ||
|
||
[TV (12,0), Mac (10,14 ,onlyOn64: true), iOS (12,0)] | ||
[Static] | ||
[Internal] | ||
partial interface NWParametersConstants { | ||
[Field ("_nw_parameters_configure_protocol_default_configuration")] | ||
IntPtr _DefaultConfiguration { get; } | ||
|
||
[Field ("_nw_parameters_configure_protocol_disable")] | ||
IntPtr _ProtocolDisable { get; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# the following are binded manualy as NativeObject | ||
|
||
!missing-protocol! OS_nw_advertise_descriptor not bound | ||
!missing-protocol! OS_nw_connection not bound | ||
!missing-protocol! OS_nw_content_context not bound | ||
!missing-protocol! OS_nw_endpoint not bound | ||
!missing-protocol! OS_nw_error not bound | ||
!missing-protocol! OS_nw_interface not bound | ||
!missing-protocol! OS_nw_listener not bound | ||
!missing-protocol! OS_nw_parameters not bound | ||
!missing-protocol! OS_nw_path not bound | ||
!missing-protocol! OS_nw_path_monitor not bound | ||
!missing-protocol! OS_nw_protocol_definition not bound | ||
!missing-protocol! OS_nw_protocol_metadata not bound | ||
!missing-protocol! OS_nw_protocol_options not bound | ||
!missing-protocol! OS_nw_protocol_stack not bound | ||
!missing-protocol! OS_nw_object not bound | ||
|
||
# no need, please see comment: https://github.com/xamarin/xamarin-macios/pull/4251#issuecomment-410815837 | ||
!missing-pinvoke! nw_release is not bound | ||
!missing-pinvoke! nw_retain is not bound |
Oops, something went wrong.
2838b98
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Jenkins job (on internal Jenkins) succeeded
✅ Build succeeded
✅ API Diff (from stable)
✅ API Diff (from PR only) (please review changes)
✅ Generator Diff (please review changes)
✅ Test run succeeded