pyobjc-framework-Network 10.1__tar.gz → 11.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/Lib/Network/_metadata.py +17 -20
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/Lib/pyobjc_framework_Network.egg-info/PKG-INFO +5 -5
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/Lib/pyobjc_framework_Network.egg-info/SOURCES.txt +5 -6
- pyobjc_framework_network-11.0/Lib/pyobjc_framework_Network.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_network-11.0/Lib/pyobjc_framework_Network.egg-info/requires.txt +2 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/License.txt +1 -1
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/Modules/_Network.m +52 -18
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/Modules/pyobjc-api.h +1 -1
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/Modules/pyobjc-compat.h +80 -5
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PKG-INFO +5 -5
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_listener.py +6 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_parameters.py +1 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_quic_options.py +2 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/metadata/Network.fwinfo +9 -0
- pyobjc-framework-Network-10.1/metadata/raw/arm64-14.0.fwinfo → pyobjc_framework_network-11.0/metadata/raw/arm64-14.5.fwinfo +2 -5
- pyobjc_framework_network-11.0/metadata/raw/arm64-15.0.fwinfo +6556 -0
- pyobjc-framework-Network-10.1/metadata/raw/x86_64-14.0.fwinfo → pyobjc_framework_network-11.0/metadata/raw/x86_64-14.5.fwinfo +2 -5
- pyobjc_framework_network-11.0/metadata/raw/x86_64-15.0.fwinfo +6556 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/pyobjc_setup.py +121 -27
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/setup.py +1 -3
- pyobjc-framework-Network-10.1/Lib/pyobjc_framework_Network.egg-info/requires.txt +0 -2
- pyobjc-framework-Network-10.1/metadata/raw/arm64-12.0.fwinfo +0 -5796
- pyobjc-framework-Network-10.1/metadata/raw/arm64-13.0.fwinfo +0 -6181
- pyobjc-framework-Network-10.1/metadata/raw/x86_64-12.0.fwinfo +0 -5796
- pyobjc-framework-Network-10.1/metadata/raw/x86_64-13.0.fwinfo +0 -6181
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/Lib/Network/__init__.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/Lib/pyobjc_framework_Network.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/Lib/pyobjc_framework_Network.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/Lib/pyobjc_framework_Network.egg-info/top_level.txt +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/MANIFEST.in +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_advertise_descriptor.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_browse_descriptor.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_browse_result.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_browser.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_connection.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_connection_group.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_connection_report.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_content_context.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_endpoint.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_error.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_ethernet_channel.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_framer_options.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_group_descriptor.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_interface.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_ip_options.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_network.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_nw_object.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_path.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_path_monitor.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_privacy_context.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_protocol_options.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_proxy_config.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_resolver_config.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_tcp_options.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_tls_options.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_txt_record.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_udp_options.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_ws_options.py +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/metadata/metadata.ini +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/metadata/raw/arm64-12.3.fwinfo +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/metadata/raw/arm64-13.3.fwinfo +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/metadata/raw/x86_64-10.14.fwinfo +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/metadata/raw/x86_64-10.15.fwinfo +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/metadata/raw/x86_64-10.16.fwinfo +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/metadata/raw/x86_64-12.3.fwinfo +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/metadata/raw/x86_64-13.3.fwinfo +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/pyproject.toml +0 -0
- {pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Wed Jun 19 22:59:30 2024
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ else:
|
|
|
31
31
|
|
|
32
32
|
misc = {}
|
|
33
33
|
constants = """$_nw_connection_send_idempotent_content@@?$_nw_content_context_default_message$_nw_content_context_default_stream$_nw_content_context_final_send$_nw_data_transfer_report_all_paths@I$_nw_parameters_configure_protocol_default_configuration@@?$_nw_parameters_configure_protocol_disable@@?$_nw_privacy_context_default_context$kNWErrorDomainDNS$kNWErrorDomainPOSIX$kNWErrorDomainTLS$"""
|
|
34
|
-
enums = """$NW_FRAMER_CREATE_FLAGS_DEFAULT@0$NW_FRAMER_WAKEUP_TIME_FOREVER@18446744073709551615$NW_LISTENER_INFINITE_CONNECTION_LIMIT@4294967295$NW_NOT_i386_MAC@1$nw_browse_result_change_identical@1$nw_browse_result_change_interface_added@8$nw_browse_result_change_interface_removed@16$nw_browse_result_change_invalid@0$nw_browse_result_change_result_added@2$nw_browse_result_change_result_removed@4$nw_browse_result_change_txt_record_changed@32$nw_browser_state_cancelled@3$nw_browser_state_failed@2$nw_browser_state_invalid@0$nw_browser_state_ready@1$nw_browser_state_waiting@4$nw_connection_group_state_cancelled@4$nw_connection_group_state_failed@3$nw_connection_group_state_invalid@0$nw_connection_group_state_ready@2$nw_connection_group_state_waiting@1$nw_connection_state_cancelled@5$nw_connection_state_failed@4$nw_connection_state_invalid@0$nw_connection_state_preparing@2$nw_connection_state_ready@3$nw_connection_state_waiting@1$nw_data_transfer_report_state_collected@2$nw_data_transfer_report_state_collecting@1$nw_endpoint_type_address@1$nw_endpoint_type_bonjour_service@3$nw_endpoint_type_host@2$nw_endpoint_type_invalid@0$nw_endpoint_type_url@4$nw_error_domain_dns@2$nw_error_domain_invalid@0$nw_error_domain_posix@1$nw_error_domain_tls@3$nw_ethernet_channel_state_cancelled@5$nw_ethernet_channel_state_failed@4$nw_ethernet_channel_state_invalid@0$nw_ethernet_channel_state_preparing@2$nw_ethernet_channel_state_ready@3$nw_ethernet_channel_state_waiting@1$nw_framer_start_result_ready@1$nw_framer_start_result_will_mark_ready@2$nw_interface_radio_type_cell_cdma@135$nw_interface_radio_type_cell_endc_mmw@130$nw_interface_radio_type_cell_endc_sub6@129$nw_interface_radio_type_cell_evdo@136$nw_interface_radio_type_cell_gsm@134$nw_interface_radio_type_cell_lte@128$nw_interface_radio_type_cell_nr_sa_mmw@132$nw_interface_radio_type_cell_nr_sa_sub6@131$nw_interface_radio_type_cell_wcdma@133$nw_interface_radio_type_unknown@0$nw_interface_radio_type_wifi_a@2$nw_interface_radio_type_wifi_ac@5$nw_interface_radio_type_wifi_ax@6$nw_interface_radio_type_wifi_b@1$nw_interface_radio_type_wifi_g@3$nw_interface_radio_type_wifi_n@4$nw_interface_type_cellular@2$nw_interface_type_loopback@4$nw_interface_type_other@0$nw_interface_type_wifi@1$nw_interface_type_wired@3$nw_ip_ecn_flag_ce@3$nw_ip_ecn_flag_ect_0@2$nw_ip_ecn_flag_ect_1@1$nw_ip_ecn_flag_non_ect@0$nw_ip_local_address_preference_default@0$nw_ip_local_address_preference_stable@2$nw_ip_local_address_preference_temporary@1$nw_ip_version_4@4$nw_ip_version_6@6$nw_ip_version_any@0$nw_listener_state_cancelled@4$nw_listener_state_failed@3$nw_listener_state_invalid@0$nw_listener_state_ready@2$nw_listener_state_waiting@1$nw_multipath_service_aggregate@3$nw_multipath_service_disabled@0$nw_multipath_service_handover@1$nw_multipath_service_interactive@2$nw_multipath_version_0@0$nw_multipath_version_1@1$nw_multipath_version_unspecified@-1$nw_parameters_attribution_developer@1$nw_parameters_attribution_user@2$nw_parameters_expired_dns_behavior_allow@1$nw_parameters_expired_dns_behavior_default@0$nw_parameters_expired_dns_behavior_prohibit@2$nw_path_status_invalid@0$nw_path_status_satisfiable@3$nw_path_status_satisfied@1$nw_path_status_unsatisfied@2$nw_path_unsatisfied_reason_cellular_denied@1$nw_path_unsatisfied_reason_local_network_denied@3$nw_path_unsatisfied_reason_not_available@0$nw_path_unsatisfied_reason_vpn_inactive@4$nw_path_unsatisfied_reason_wifi_denied@2$nw_quic_stream_type_bidirectional@1$nw_quic_stream_type_datagram@3$nw_quic_stream_type_unidirectional@2$nw_quic_stream_type_unknown@0$nw_report_resolution_protocol_https@4$nw_report_resolution_protocol_tcp@2$nw_report_resolution_protocol_tls@3$nw_report_resolution_protocol_udp@1$nw_report_resolution_protocol_unknown@0$nw_report_resolution_source_cache@2$nw_report_resolution_source_expired_cache@3$nw_report_resolution_source_query@1$nw_service_class_background@1$nw_service_class_best_effort@0$nw_service_class_interactive_video@2$nw_service_class_interactive_voice@3$nw_service_class_responsive_data@4$nw_service_class_signaling@5$nw_txt_record_find_key_empty_value@3$nw_txt_record_find_key_invalid@0$nw_txt_record_find_key_no_value@2$nw_txt_record_find_key_non_empty_value@4$nw_txt_record_find_key_not_present@1$nw_ws_close_code_abnormal_closure@1006$nw_ws_close_code_going_away@1001$nw_ws_close_code_internal_server_error@1011$nw_ws_close_code_invalid_frame_payload_data@1007$nw_ws_close_code_mandatory_extension@1010$nw_ws_close_code_message_too_big@1009$nw_ws_close_code_no_status_received@1005$nw_ws_close_code_normal_closure@1000$nw_ws_close_code_policy_violation@1008$nw_ws_close_code_protocol_error@1002$nw_ws_close_code_tls_handshake@1015$nw_ws_close_code_unsupported_data@1003$nw_ws_opcode_binary@2$nw_ws_opcode_close@8$nw_ws_opcode_cont@0$nw_ws_opcode_invalid@-1$nw_ws_opcode_ping@9$nw_ws_opcode_pong@10$nw_ws_opcode_text@1$nw_ws_response_status_accept@1$nw_ws_response_status_invalid@0$nw_ws_response_status_reject@2$nw_ws_version_13@1$nw_ws_version_invalid@0$"""
|
|
34
|
+
enums = """$NW_FRAMER_CREATE_FLAGS_DEFAULT@0$NW_FRAMER_WAKEUP_TIME_FOREVER@18446744073709551615$NW_LISTENER_INFINITE_CONNECTION_LIMIT@4294967295$NW_NOT_i386_MAC@1$NW_QUIC_CONNECTION_DEFAULT_KEEPALIVE@65535$nw_browse_result_change_identical@1$nw_browse_result_change_interface_added@8$nw_browse_result_change_interface_removed@16$nw_browse_result_change_invalid@0$nw_browse_result_change_result_added@2$nw_browse_result_change_result_removed@4$nw_browse_result_change_txt_record_changed@32$nw_browser_state_cancelled@3$nw_browser_state_failed@2$nw_browser_state_invalid@0$nw_browser_state_ready@1$nw_browser_state_waiting@4$nw_connection_group_state_cancelled@4$nw_connection_group_state_failed@3$nw_connection_group_state_invalid@0$nw_connection_group_state_ready@2$nw_connection_group_state_waiting@1$nw_connection_state_cancelled@5$nw_connection_state_failed@4$nw_connection_state_invalid@0$nw_connection_state_preparing@2$nw_connection_state_ready@3$nw_connection_state_waiting@1$nw_data_transfer_report_state_collected@2$nw_data_transfer_report_state_collecting@1$nw_endpoint_type_address@1$nw_endpoint_type_bonjour_service@3$nw_endpoint_type_host@2$nw_endpoint_type_invalid@0$nw_endpoint_type_url@4$nw_error_domain_dns@2$nw_error_domain_invalid@0$nw_error_domain_posix@1$nw_error_domain_tls@3$nw_ethernet_channel_state_cancelled@5$nw_ethernet_channel_state_failed@4$nw_ethernet_channel_state_invalid@0$nw_ethernet_channel_state_preparing@2$nw_ethernet_channel_state_ready@3$nw_ethernet_channel_state_waiting@1$nw_framer_start_result_ready@1$nw_framer_start_result_will_mark_ready@2$nw_interface_radio_type_cell_cdma@135$nw_interface_radio_type_cell_endc_mmw@130$nw_interface_radio_type_cell_endc_sub6@129$nw_interface_radio_type_cell_evdo@136$nw_interface_radio_type_cell_gsm@134$nw_interface_radio_type_cell_lte@128$nw_interface_radio_type_cell_nr_sa_mmw@132$nw_interface_radio_type_cell_nr_sa_sub6@131$nw_interface_radio_type_cell_wcdma@133$nw_interface_radio_type_unknown@0$nw_interface_radio_type_wifi_a@2$nw_interface_radio_type_wifi_ac@5$nw_interface_radio_type_wifi_ax@6$nw_interface_radio_type_wifi_b@1$nw_interface_radio_type_wifi_g@3$nw_interface_radio_type_wifi_n@4$nw_interface_type_cellular@2$nw_interface_type_loopback@4$nw_interface_type_other@0$nw_interface_type_wifi@1$nw_interface_type_wired@3$nw_ip_ecn_flag_ce@3$nw_ip_ecn_flag_ect_0@2$nw_ip_ecn_flag_ect_1@1$nw_ip_ecn_flag_non_ect@0$nw_ip_local_address_preference_default@0$nw_ip_local_address_preference_stable@2$nw_ip_local_address_preference_temporary@1$nw_ip_version_4@4$nw_ip_version_6@6$nw_ip_version_any@0$nw_listener_state_cancelled@4$nw_listener_state_failed@3$nw_listener_state_invalid@0$nw_listener_state_ready@2$nw_listener_state_waiting@1$nw_multipath_service_aggregate@3$nw_multipath_service_disabled@0$nw_multipath_service_handover@1$nw_multipath_service_interactive@2$nw_multipath_version_0@0$nw_multipath_version_1@1$nw_multipath_version_unspecified@-1$nw_parameters_attribution_developer@1$nw_parameters_attribution_user@2$nw_parameters_expired_dns_behavior_allow@1$nw_parameters_expired_dns_behavior_default@0$nw_parameters_expired_dns_behavior_persistent@3$nw_parameters_expired_dns_behavior_prohibit@2$nw_path_status_invalid@0$nw_path_status_satisfiable@3$nw_path_status_satisfied@1$nw_path_status_unsatisfied@2$nw_path_unsatisfied_reason_cellular_denied@1$nw_path_unsatisfied_reason_local_network_denied@3$nw_path_unsatisfied_reason_not_available@0$nw_path_unsatisfied_reason_vpn_inactive@4$nw_path_unsatisfied_reason_wifi_denied@2$nw_quic_stream_type_bidirectional@1$nw_quic_stream_type_datagram@3$nw_quic_stream_type_unidirectional@2$nw_quic_stream_type_unknown@0$nw_report_resolution_protocol_https@4$nw_report_resolution_protocol_tcp@2$nw_report_resolution_protocol_tls@3$nw_report_resolution_protocol_udp@1$nw_report_resolution_protocol_unknown@0$nw_report_resolution_source_cache@2$nw_report_resolution_source_expired_cache@3$nw_report_resolution_source_query@1$nw_service_class_background@1$nw_service_class_best_effort@0$nw_service_class_interactive_video@2$nw_service_class_interactive_voice@3$nw_service_class_responsive_data@4$nw_service_class_signaling@5$nw_txt_record_find_key_empty_value@3$nw_txt_record_find_key_invalid@0$nw_txt_record_find_key_no_value@2$nw_txt_record_find_key_non_empty_value@4$nw_txt_record_find_key_not_present@1$nw_ws_close_code_abnormal_closure@1006$nw_ws_close_code_going_away@1001$nw_ws_close_code_internal_server_error@1011$nw_ws_close_code_invalid_frame_payload_data@1007$nw_ws_close_code_mandatory_extension@1010$nw_ws_close_code_message_too_big@1009$nw_ws_close_code_no_status_received@1005$nw_ws_close_code_normal_closure@1000$nw_ws_close_code_policy_violation@1008$nw_ws_close_code_protocol_error@1002$nw_ws_close_code_tls_handshake@1015$nw_ws_close_code_unsupported_data@1003$nw_ws_opcode_binary@2$nw_ws_opcode_close@8$nw_ws_opcode_cont@0$nw_ws_opcode_invalid@-1$nw_ws_opcode_ping@9$nw_ws_opcode_pong@10$nw_ws_opcode_text@1$nw_ws_response_status_accept@1$nw_ws_response_status_invalid@0$nw_ws_response_status_reject@2$nw_ws_version_13@1$nw_ws_version_invalid@0$"""
|
|
35
35
|
misc.update(
|
|
36
36
|
{
|
|
37
37
|
"nw_report_resolution_protocol_t": NewType(
|
|
@@ -40,10 +40,6 @@ misc.update(
|
|
|
40
40
|
"nw_ethernet_channel_state_t": NewType("nw_ethernet_channel_state_t", int),
|
|
41
41
|
"nw_path_status_t": NewType("nw_path_status_t", int),
|
|
42
42
|
"nw_multipath_version_t": NewType("nw_multipath_version_t", int),
|
|
43
|
-
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Network.framework/Headers/browse_result.h:56:1)": NewType(
|
|
44
|
-
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Network.framework/Headers/browse_result.h:56:1)",
|
|
45
|
-
int,
|
|
46
|
-
),
|
|
47
43
|
"nw_connection_group_state_t": NewType("nw_connection_group_state_t", int),
|
|
48
44
|
"nw_multipath_service_t": NewType("nw_multipath_service_t", int),
|
|
49
45
|
"nw_ws_version_t": NewType("nw_ws_version_t", int),
|
|
@@ -224,6 +220,14 @@ functions = {
|
|
|
224
220
|
"nw_connection_group_cancel": (b"v@",),
|
|
225
221
|
"nw_path_is_equal": (b"B@@",),
|
|
226
222
|
"nw_connection_force_cancel": (b"v@",),
|
|
223
|
+
"nw_listener_create_with_launchd_key": (
|
|
224
|
+
b"@@^t",
|
|
225
|
+
"",
|
|
226
|
+
{
|
|
227
|
+
"retval": {"already_retained": True},
|
|
228
|
+
"arguments": {1: {"c_array_delimited_by_null": True, "type_modifier": "n"}},
|
|
229
|
+
},
|
|
230
|
+
),
|
|
227
231
|
"nw_ip_metadata_get_service_class": (b"I@",),
|
|
228
232
|
"nw_parameters_create": (b"@", "", {"retval": {"already_retained": True}}),
|
|
229
233
|
"nw_tcp_options_set_disable_ack_stretching": (b"v@B",),
|
|
@@ -257,15 +261,11 @@ functions = {
|
|
|
257
261
|
"callable": {
|
|
258
262
|
"retval": {"type": b"v"},
|
|
259
263
|
"arguments": {
|
|
260
|
-
0: {"type": "^v"},
|
|
261
|
-
1: {"type": "@"},
|
|
262
|
-
2: {"type": "@"},
|
|
264
|
+
0: {"type": b"^v"},
|
|
265
|
+
1: {"type": b"@"},
|
|
266
|
+
2: {"type": b"@"},
|
|
263
267
|
},
|
|
264
|
-
}
|
|
265
|
-
"block": {
|
|
266
|
-
"retval": {"type": b"v"},
|
|
267
|
-
"arguments": {0: {"type": b"@"}, 1: {"type": b"@"}},
|
|
268
|
-
},
|
|
268
|
+
}
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
},
|
|
@@ -532,12 +532,8 @@ functions = {
|
|
|
532
532
|
2: {
|
|
533
533
|
"callable": {
|
|
534
534
|
"retval": {"type": b"B"},
|
|
535
|
-
"arguments": {0: {"type": "^v"}, 1: {"type": "^v"}},
|
|
536
|
-
}
|
|
537
|
-
"block": {
|
|
538
|
-
"retval": {"type": b"B"},
|
|
539
|
-
"arguments": {0: {"type": b"^v"}},
|
|
540
|
-
},
|
|
535
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"^v"}},
|
|
536
|
+
}
|
|
541
537
|
},
|
|
542
538
|
}
|
|
543
539
|
},
|
|
@@ -1949,6 +1945,7 @@ functions = {
|
|
|
1949
1945
|
}
|
|
1950
1946
|
aliases = {
|
|
1951
1947
|
"NW_RETURNS_RETAINED": "OS_OBJECT_RETURNS_RETAINED",
|
|
1948
|
+
"NW_QUIC_CONNECTION_DEFAULT_KEEPALIVE": "UINT16_MAX",
|
|
1952
1949
|
"NW_LISTENER_INFINITE_CONNECTION_LIMIT": "UINT32_MAX",
|
|
1953
1950
|
"NW_EXPORT_PROJECT": "NW_EXPORT",
|
|
1954
1951
|
"NW_ALL_PATHS": "_nw_data_transfer_report_all_paths",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-Network
|
|
3
|
-
Version:
|
|
3
|
+
Version: 11.0
|
|
4
4
|
Summary: Wrappers for the framework Network on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -18,20 +18,20 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
27
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
28
|
Classifier: Programming Language :: Objective C
|
|
29
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.9
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
33
|
+
Requires-Dist: pyobjc-core>=11.0
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=11.0
|
|
35
35
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
36
36
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
37
37
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -9,6 +9,7 @@ Lib/pyobjc_framework_Network.egg-info/PKG-INFO
|
|
|
9
9
|
Lib/pyobjc_framework_Network.egg-info/SOURCES.txt
|
|
10
10
|
Lib/pyobjc_framework_Network.egg-info/dependency_links.txt
|
|
11
11
|
Lib/pyobjc_framework_Network.egg-info/not-zip-safe
|
|
12
|
+
Lib/pyobjc_framework_Network.egg-info/pyobjc-build-info.txt
|
|
12
13
|
Lib/pyobjc_framework_Network.egg-info/requires.txt
|
|
13
14
|
Lib/pyobjc_framework_Network.egg-info/top_level.txt
|
|
14
15
|
Modules/_Network.m
|
|
@@ -48,16 +49,14 @@ PyObjCTest/test_udp_options.py
|
|
|
48
49
|
PyObjCTest/test_ws_options.py
|
|
49
50
|
metadata/Network.fwinfo
|
|
50
51
|
metadata/metadata.ini
|
|
51
|
-
metadata/raw/arm64-12.0.fwinfo
|
|
52
52
|
metadata/raw/arm64-12.3.fwinfo
|
|
53
|
-
metadata/raw/arm64-13.0.fwinfo
|
|
54
53
|
metadata/raw/arm64-13.3.fwinfo
|
|
55
|
-
metadata/raw/arm64-14.
|
|
54
|
+
metadata/raw/arm64-14.5.fwinfo
|
|
55
|
+
metadata/raw/arm64-15.0.fwinfo
|
|
56
56
|
metadata/raw/x86_64-10.14.fwinfo
|
|
57
57
|
metadata/raw/x86_64-10.15.fwinfo
|
|
58
58
|
metadata/raw/x86_64-10.16.fwinfo
|
|
59
|
-
metadata/raw/x86_64-12.0.fwinfo
|
|
60
59
|
metadata/raw/x86_64-12.3.fwinfo
|
|
61
|
-
metadata/raw/x86_64-13.0.fwinfo
|
|
62
60
|
metadata/raw/x86_64-13.3.fwinfo
|
|
63
|
-
metadata/raw/x86_64-14.
|
|
61
|
+
metadata/raw/x86_64-14.5.fwinfo
|
|
62
|
+
metadata/raw/x86_64-15.0.fwinfo
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(This is the MIT license, note that libffi-src is a separate product with its own license)
|
|
2
2
|
|
|
3
3
|
Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
|
|
4
|
-
Copyright 2003-
|
|
4
|
+
Copyright 2003-2024 - Ronald Oussoren
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
7
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
#define Py_LIMITED_API 0x03060000
|
|
2
1
|
#define PY_SSIZE_T_CLEAN
|
|
3
2
|
#include "Python.h"
|
|
4
3
|
#include "pyobjc-api.h"
|
|
@@ -25,23 +24,10 @@ add_constant(PyObject* m, const char* name, char* typestr, const void* value)
|
|
|
25
24
|
return r;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
static struct PyModuleDef mod_module = {
|
|
30
|
-
PyModuleDef_HEAD_INIT, "_Network", NULL, 0, mod_methods, NULL, NULL, NULL, NULL};
|
|
31
|
-
|
|
32
|
-
PyObject* PyInit__Network(void);
|
|
33
|
-
|
|
34
|
-
PyObject* __attribute__((__visibility__("default"))) PyInit__Network(void)
|
|
27
|
+
static int mod_exec_module(PyObject* m)
|
|
35
28
|
{
|
|
36
|
-
PyObject* m;
|
|
37
|
-
|
|
38
|
-
m = PyModule_Create(&mod_module);
|
|
39
|
-
if (!m) {
|
|
40
|
-
return NULL;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
29
|
if (PyObjC_ImportAPI(m) == -1)
|
|
44
|
-
return
|
|
30
|
+
return -1;
|
|
45
31
|
|
|
46
32
|
if (@available(macos 10.14, *)) {
|
|
47
33
|
nw_connection_send_completion_t t = NW_CONNECTION_SEND_IDEMPOTENT_CONTENT;
|
|
@@ -86,8 +72,56 @@ PyObject* __attribute__((__visibility__("default"))) PyInit__Network(void)
|
|
|
86
72
|
}
|
|
87
73
|
#endif
|
|
88
74
|
|
|
89
|
-
return
|
|
75
|
+
return 0;
|
|
90
76
|
|
|
91
77
|
error:
|
|
92
|
-
return
|
|
78
|
+
return -1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
static struct PyModuleDef_Slot mod_slots[] = {
|
|
83
|
+
{
|
|
84
|
+
.slot = Py_mod_exec,
|
|
85
|
+
.value = (void*)mod_exec_module
|
|
86
|
+
},
|
|
87
|
+
#if PY_VERSION_HEX >= 0x030c0000
|
|
88
|
+
{
|
|
89
|
+
/* This extension does not use the CPython API other than initializing
|
|
90
|
+
* the module, hence is safe with subinterpreters and per-interpreter
|
|
91
|
+
* GILs
|
|
92
|
+
*/
|
|
93
|
+
.slot = Py_mod_multiple_interpreters,
|
|
94
|
+
.value = Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED,
|
|
95
|
+
},
|
|
96
|
+
#endif
|
|
97
|
+
#if PY_VERSION_HEX >= 0x030d0000
|
|
98
|
+
{
|
|
99
|
+
/* The code in this extension should be safe to use without the GIL */
|
|
100
|
+
.slot = Py_mod_gil,
|
|
101
|
+
.value = Py_MOD_GIL_NOT_USED,
|
|
102
|
+
},
|
|
103
|
+
#endif
|
|
104
|
+
{ /* Sentinel */
|
|
105
|
+
.slot = 0,
|
|
106
|
+
.value = 0
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
static struct PyModuleDef mod_module = {
|
|
111
|
+
.m_base = PyModuleDef_HEAD_INIT,
|
|
112
|
+
.m_name = "_Network",
|
|
113
|
+
.m_doc = NULL,
|
|
114
|
+
.m_size = 0,
|
|
115
|
+
.m_methods = mod_methods,
|
|
116
|
+
.m_slots = mod_slots,
|
|
117
|
+
.m_traverse = NULL,
|
|
118
|
+
.m_clear = NULL,
|
|
119
|
+
.m_free = NULL,
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
PyObject* PyInit__Network(void);
|
|
123
|
+
|
|
124
|
+
PyObject* __attribute__((__visibility__("default"))) PyInit__Network(void)
|
|
125
|
+
{
|
|
126
|
+
return PyModuleDef_Init(&mod_module);
|
|
93
127
|
}
|
|
@@ -83,7 +83,7 @@ struct pyobjc_api {
|
|
|
83
83
|
PyObject* _Nullable (*_Nonnull unsupported_method_caller)(
|
|
84
84
|
PyObject* _Nonnull, PyObject* _Nonnull, PyObject* _Nonnull const* _Nonnull,
|
|
85
85
|
size_t);
|
|
86
|
-
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state);
|
|
86
|
+
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state) __attribute__((__noreturn__));
|
|
87
87
|
int (*_Nonnull simplify_sig)(const char* signature, char* buf, size_t buflen);
|
|
88
88
|
void (*_Nonnull free_c_array)(int, Py_buffer*);
|
|
89
89
|
int (*_Nonnull py_to_c_array)(BOOL, BOOL, const char* _Nonnull, PyObject* _Nonnull,
|
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
|
|
12
12
|
NS_ASSUME_NONNULL_BEGIN
|
|
13
13
|
|
|
14
|
+
#ifdef USE_STATIC_ANALYZER
|
|
15
|
+
#define CLANG_SUPPRESS [[clang::suppress]]
|
|
16
|
+
#else
|
|
17
|
+
#define CLANG_SUPPRESS
|
|
18
|
+
#endif
|
|
19
|
+
|
|
14
20
|
/*
|
|
15
21
|
*
|
|
16
22
|
* Start of compiler definitions
|
|
@@ -153,10 +159,6 @@ extern PyObject* _Nullable PyObject_VectorcallMethod(
|
|
|
153
159
|
|
|
154
160
|
extern int PyObjC_Cmp(PyObject* o1, PyObject* o2, int* result);
|
|
155
161
|
|
|
156
|
-
extern PyObject* _Nullable PyObjCBytes_InternFromString(const char* v);
|
|
157
|
-
extern PyObject* _Nullable PyObjCBytes_InternFromStringAndSize(const char* v,
|
|
158
|
-
Py_ssize_t l);
|
|
159
|
-
|
|
160
162
|
/*
|
|
161
163
|
* A micro optimization: when using Python 3.3 or later it
|
|
162
164
|
* is possible to access a 'char*' with an ASCII representation
|
|
@@ -238,7 +240,80 @@ _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
|
|
|
238
240
|
PyGILState_Release(_GILState); \
|
|
239
241
|
} while (0)
|
|
240
242
|
|
|
241
|
-
|
|
243
|
+
#if PY_VERSION_HEX < 0x030a0000
|
|
244
|
+
|
|
245
|
+
static inline PyObject* Py_NewRef(PyObject* o)
|
|
246
|
+
{
|
|
247
|
+
Py_INCREF(o);
|
|
248
|
+
return o;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
static inline PyObject* Py_XNewRef(PyObject* o)
|
|
252
|
+
{
|
|
253
|
+
Py_XINCREF(o);
|
|
254
|
+
return o;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
#endif /* PY_VERSION_HEX < 0x030a0000 */
|
|
258
|
+
|
|
259
|
+
#if PY_VERSION_HEX < 0x030d0000
|
|
260
|
+
#define Py_BEGIN_CRITICAL_SECTION(value) { (void)(value);
|
|
261
|
+
#define Py_END_CRITICAL_SECTION() }
|
|
262
|
+
#define Py_EXIT_CRITICAL_SECTION() ((void)0)
|
|
263
|
+
|
|
264
|
+
#define Py_BEGIN_CRITICAL_SECTION2(value1, value2) { (void)(value1); (void)(value2);
|
|
265
|
+
#define Py_END_CRITICAL_SECTION2() }
|
|
266
|
+
#define Py_EXIT_CRITICAL_SECTION2() ((void)0)
|
|
267
|
+
|
|
268
|
+
#define PyObjC_ATOMIC
|
|
269
|
+
|
|
270
|
+
#else
|
|
271
|
+
|
|
272
|
+
#ifdef Py_GIL_DISABLED
|
|
273
|
+
#define Py_EXIT_CRITICAL_SECTION() PyCriticalSection_End(&_py_cs)
|
|
274
|
+
#define Py_EXIT_CRITICAL_SECTION2() PyCriticalSection2_End(&_py_cs2)
|
|
275
|
+
#define PyObjC_ATOMIC _Atomic
|
|
276
|
+
#else
|
|
277
|
+
#define Py_EXIT_CRITICAL_SECTION() ((void)0)
|
|
278
|
+
#define Py_EXIT_CRITICAL_SECTION2() ((void)0)
|
|
279
|
+
#define PyObjC_ATOMIC
|
|
280
|
+
#endif
|
|
281
|
+
|
|
282
|
+
#endif
|
|
283
|
+
|
|
284
|
+
#if PY_VERSION_HEX < 0x030d0000
|
|
285
|
+
static inline int PyDict_GetItemRef(PyObject *p, PyObject *key, PyObject * _Nonnull* _Nullable result)
|
|
286
|
+
{
|
|
287
|
+
*result = PyDict_GetItemWithError(p, key);
|
|
288
|
+
if (*result == NULL) {
|
|
289
|
+
if (PyErr_Occurred()) {
|
|
290
|
+
return -1;
|
|
291
|
+
} else {
|
|
292
|
+
return 0;
|
|
293
|
+
}
|
|
294
|
+
} else {
|
|
295
|
+
Py_INCREF(*result);
|
|
296
|
+
return 1;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
|
|
301
|
+
{
|
|
302
|
+
PyObject* result = PyList_GetItem(l, i);
|
|
303
|
+
Py_XINCREF(result);
|
|
304
|
+
return result;
|
|
305
|
+
}
|
|
306
|
+
#endif
|
|
307
|
+
|
|
308
|
+
#if PY_VERSION_HEX < 0x030c0000
|
|
309
|
+
static inline PyObject* PyType_GetDict(PyTypeObject* type)
|
|
310
|
+
{
|
|
311
|
+
PyObject* result = type->tp_dict;
|
|
312
|
+
Py_INCREF(result);
|
|
313
|
+
return result;
|
|
314
|
+
}
|
|
315
|
+
#endif
|
|
316
|
+
|
|
242
317
|
|
|
243
318
|
NS_ASSUME_NONNULL_END
|
|
244
319
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-Network
|
|
3
|
-
Version:
|
|
3
|
+
Version: 11.0
|
|
4
4
|
Summary: Wrappers for the framework Network on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -18,20 +18,20 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
27
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
28
|
Classifier: Programming Language :: Objective C
|
|
29
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.9
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
33
|
+
Requires-Dist: pyobjc-core>=11.0
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=11.0
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
Wrappers for the "Network" framework on macOS.
|
|
@@ -58,3 +58,9 @@ class TestListener(TestCase):
|
|
|
58
58
|
@min_os_level("12.0")
|
|
59
59
|
def test_functions12_0(self):
|
|
60
60
|
Network.nw_listener_set_new_connection_group_handler
|
|
61
|
+
|
|
62
|
+
@min_os_level("15.0")
|
|
63
|
+
def test_functions15_0(self):
|
|
64
|
+
self.assertResultIsRetained(Network.nw_listener_create_with_launchd_key)
|
|
65
|
+
self.assertArgIsIn(Network.nw_listener_create_with_launchd_key, 1)
|
|
66
|
+
self.assertArgIsNullTerminated(Network.nw_listener_create_with_launchd_key, 1)
|
{pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_parameters.py
RENAMED
|
@@ -31,6 +31,7 @@ class TestParameters(TestCase):
|
|
|
31
31
|
self.assertEqual(Network.nw_parameters_expired_dns_behavior_default, 0)
|
|
32
32
|
self.assertEqual(Network.nw_parameters_expired_dns_behavior_allow, 1)
|
|
33
33
|
self.assertEqual(Network.nw_parameters_expired_dns_behavior_prohibit, 2)
|
|
34
|
+
self.assertEqual(Network.nw_parameters_expired_dns_behavior_persistent, 3)
|
|
34
35
|
|
|
35
36
|
self.assertEqual(Network.nw_parameters_attribution_developer, 1)
|
|
36
37
|
self.assertEqual(Network.nw_parameters_attribution_user, 2)
|
{pyobjc-framework-Network-10.1 → pyobjc_framework_network-11.0}/PyObjCTest/test_quic_options.py
RENAMED
|
@@ -10,6 +10,8 @@ class TestQUICOptions(TestCase):
|
|
|
10
10
|
self.assertEqual(Network.nw_quic_stream_type_unidirectional, 2)
|
|
11
11
|
self.assertEqual(Network.nw_quic_stream_type_datagram, 3)
|
|
12
12
|
|
|
13
|
+
self.assertEqual(Network.NW_QUIC_CONNECTION_DEFAULT_KEEPALIVE, 0xFFFF)
|
|
14
|
+
|
|
13
15
|
@min_os_level("12.0")
|
|
14
16
|
def test_functions12_0(self):
|
|
15
17
|
self.assertResultIsRetained(Network.nw_protocol_copy_quic_definition)
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"classes": {},
|
|
11
11
|
"enum": {
|
|
12
|
+
"NW_QUIC_CONNECTION_DEFAULT_KEEPALIVE": { "value": 65535 },
|
|
12
13
|
"NW_FRAMER_WAKEUP_TIME_FOREVER": {
|
|
13
14
|
"value": 18446744073709551615
|
|
14
15
|
},
|
|
@@ -18,6 +19,12 @@
|
|
|
18
19
|
},
|
|
19
20
|
"formal_protocols": {},
|
|
20
21
|
"functions": {
|
|
22
|
+
"nw_listener_create_with_launchd_key": {
|
|
23
|
+
"args": {
|
|
24
|
+
"1": { "type_modifier": "n", "type_override": "^t", "c_array_delimited_by_null": true }
|
|
25
|
+
},
|
|
26
|
+
"retval": { "already_retained": true }
|
|
27
|
+
},
|
|
21
28
|
"nw_proxy_config_add_match_domain": {
|
|
22
29
|
"args": {
|
|
23
30
|
"1": { "type_modifier": "n", "c_array_delimited_by_null": true, "type_override": "^t" }
|
|
@@ -31,6 +38,7 @@
|
|
|
31
38
|
"nw_proxy_config_enumerate_match_domains": {
|
|
32
39
|
"args": {
|
|
33
40
|
"1": {
|
|
41
|
+
"type_override": "@?",
|
|
34
42
|
"callable": {
|
|
35
43
|
"arguments": {
|
|
36
44
|
"0": {
|
|
@@ -50,6 +58,7 @@
|
|
|
50
58
|
"nw_proxy_config_enumerate_excluded_domains": {
|
|
51
59
|
"args": {
|
|
52
60
|
"1": {
|
|
61
|
+
"type_override": "@?",
|
|
53
62
|
"callable": {
|
|
54
63
|
"arguments": {
|
|
55
64
|
"0": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED FILE DO NOT EDIT
|
|
2
2
|
//
|
|
3
3
|
// This file was generated by objective.metadata
|
|
4
|
-
// Last update:
|
|
4
|
+
// Last update: Sat May 18 09:33:06 2024
|
|
5
5
|
{
|
|
6
6
|
"arch": "arm64",
|
|
7
7
|
"definitions": {
|
|
@@ -165,9 +165,6 @@
|
|
|
165
165
|
"nw_ws_version_invalid": 0
|
|
166
166
|
},
|
|
167
167
|
"enum_type": {
|
|
168
|
-
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Network.framework/Headers/browse_result.h:56:1)": {
|
|
169
|
-
"type": "I"
|
|
170
|
-
},
|
|
171
168
|
"nw_browser_state_t": {
|
|
172
169
|
"type": "I"
|
|
173
170
|
},
|
|
@@ -6539,5 +6536,5 @@
|
|
|
6539
6536
|
"ws_options.h"
|
|
6540
6537
|
],
|
|
6541
6538
|
"release": "10.16",
|
|
6542
|
-
"sdk": "/Users/ronald/Applications/Xcode
|
|
6539
|
+
"sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
|
|
6543
6540
|
}
|