From 93e7d5d50c6a2dc7f9c3c95635bdd8c1e7d27967 Mon Sep 17 00:00:00 2001 From: Alden Torres Date: Sat, 7 Oct 2023 21:32:37 -0400 Subject: [PATCH] using SWIG 4.1.1 (#258) --- changelog.txt | 1 + .../libtorrent4j/swig/add_piece_flags_t.java | 18 +- .../libtorrent4j/swig/add_torrent_alert.java | 18 +- .../libtorrent4j/swig/add_torrent_params.java | 20 +- .../java/org/libtorrent4j/swig/address.java | 18 +- .../swig/address_sha1_hash_pair.java | 18 +- .../swig/address_sha1_hash_pair_vector.java | 18 +- .../java/org/libtorrent4j/swig/alert.java | 18 +- .../libtorrent4j/swig/alert_category_t.java | 18 +- .../swig/alert_notify_callback.java | 18 +- .../org/libtorrent4j/swig/alert_priority.java | 6 +- .../libtorrent4j/swig/alert_ptr_vector.java | 18 +- .../swig/alerts_dropped_alert.java | 18 +- .../libtorrent4j/swig/announce_endpoint.java | 18 +- .../swig/announce_endpoint_vector.java | 18 +- .../org/libtorrent4j/swig/announce_entry.java | 18 +- .../swig/announce_entry_vector.java | 18 +- .../libtorrent4j/swig/announce_infohash.java | 18 +- .../swig/bandwidth_state_flags_t.java | 18 +- .../org/libtorrent4j/swig/bdecode_errors.java | 6 +- .../org/libtorrent4j/swig/bdecode_node.java | 18 +- .../swig/bdecode_node_bdecode_node_pair.java | 18 +- .../java/org/libtorrent4j/swig/bitfield.java | 18 +- .../libtorrent4j/swig/bitfield_vector.java | 18 +- .../org/libtorrent4j/swig/bitset_128.java | 18 +- .../swig/block_downloading_alert.java | 18 +- .../swig/block_finished_alert.java | 18 +- .../org/libtorrent4j/swig/block_info.java | 18 +- .../libtorrent4j/swig/block_info_vector.java | 18 +- .../swig/block_timeout_alert.java | 18 +- .../swig/block_uploaded_alert.java | 18 +- .../org/libtorrent4j/swig/bool_vector.java | 18 +- .../libtorrent4j/swig/bool_vector_vector.java | 18 +- .../swig/boost_string_entry_map.java | 18 +- .../org/libtorrent4j/swig/byte_array_32.java | 18 +- .../org/libtorrent4j/swig/byte_array_64.java | 18 +- .../java/org/libtorrent4j/swig/byte_span.java | 18 +- .../org/libtorrent4j/swig/byte_vector.java | 18 +- .../swig/byte_vector_byte_vector_pair.java | 18 +- .../swig/cache_flushed_alert.java | 18 +- .../org/libtorrent4j/swig/client_data_t.java | 18 +- .../org/libtorrent4j/swig/close_reason_t.java | 6 +- .../libtorrent4j/swig/connection_type_t.java | 18 +- .../java/org/libtorrent4j/swig/counters.java | 18 +- .../libtorrent4j/swig/create_file_entry.java | 18 +- .../swig/create_file_entry_vector.java | 18 +- .../org/libtorrent4j/swig/create_flags_t.java | 18 +- .../org/libtorrent4j/swig/create_torrent.java | 18 +- .../libtorrent4j/swig/deadline_flags_t.java | 18 +- .../libtorrent4j/swig/dht_announce_alert.java | 18 +- .../swig/dht_bootstrap_alert.java | 18 +- .../swig/dht_direct_response_alert.java | 18 +- .../libtorrent4j/swig/dht_error_alert.java | 18 +- .../swig/dht_get_peers_alert.java | 18 +- .../swig/dht_get_peers_reply_alert.java | 18 +- .../swig/dht_immutable_item_alert.java | 18 +- .../swig/dht_live_nodes_alert.java | 18 +- .../org/libtorrent4j/swig/dht_log_alert.java | 18 +- .../org/libtorrent4j/swig/dht_lookup.java | 18 +- .../libtorrent4j/swig/dht_lookup_vector.java | 18 +- .../swig/dht_mutable_item_alert.java | 18 +- .../swig/dht_outgoing_get_peers_alert.java | 18 +- .../org/libtorrent4j/swig/dht_pkt_alert.java | 18 +- .../org/libtorrent4j/swig/dht_put_alert.java | 18 +- .../libtorrent4j/swig/dht_reply_alert.java | 18 +- .../libtorrent4j/swig/dht_routing_bucket.java | 18 +- .../swig/dht_routing_bucket_vector.java | 18 +- .../swig/dht_sample_infohashes_alert.java | 18 +- .../java/org/libtorrent4j/swig/dht_state.java | 18 +- .../libtorrent4j/swig/dht_stats_alert.java | 18 +- .../java/org/libtorrent4j/swig/entry.java | 18 +- .../org/libtorrent4j/swig/entry_vector.java | 18 +- .../org/libtorrent4j/swig/error_code.java | 18 +- .../java/org/libtorrent4j/swig/event_t.java | 6 +- .../libtorrent4j/swig/external_ip_alert.java | 18 +- .../swig/fastresume_rejected_alert.java | 18 +- .../swig/file_completed_alert.java | 18 +- .../libtorrent4j/swig/file_error_alert.java | 18 +- .../org/libtorrent4j/swig/file_flags_t.java | 18 +- .../libtorrent4j/swig/file_prio_alert.java | 18 +- .../swig/file_progress_alert.java | 18 +- .../swig/file_progress_flags_t.java | 18 +- .../swig/file_rename_failed_alert.java | 18 +- .../libtorrent4j/swig/file_renamed_alert.java | 18 +- .../org/libtorrent4j/swig/file_slice.java | 18 +- .../libtorrent4j/swig/file_slice_vector.java | 18 +- .../org/libtorrent4j/swig/file_storage.java | 18 +- .../libtorrent4j/swig/hash_failed_alert.java | 18 +- .../org/libtorrent4j/swig/http_errors.java | 6 +- .../java/org/libtorrent4j/swig/i2p_alert.java | 18 +- .../swig/incoming_connection_alert.java | 18 +- .../swig/incoming_request_alert.java | 18 +- .../org/libtorrent4j/swig/info_hash_t.java | 18 +- .../org/libtorrent4j/swig/int64_vector.java | 18 +- .../libtorrent4j/swig/int_bitfield_map.java | 30 +- .../org/libtorrent4j/swig/int_byte_pair.java | 18 +- .../swig/int_byte_pair_vector.java | 18 +- .../org/libtorrent4j/swig/int_string_map.java | 30 +- .../org/libtorrent4j/swig/int_vector.java | 18 +- .../swig/invalid_request_alert.java | 18 +- .../java/org/libtorrent4j/swig/ip_filter.java | 18 +- .../org/libtorrent4j/swig/ip_interface.java | 18 +- .../swig/ip_interface_vector.java | 18 +- .../java/org/libtorrent4j/swig/ip_route.java | 18 +- .../libtorrent4j/swig/ip_route_vector.java | 18 +- .../org/libtorrent4j/swig/libtorrent.java | 6 +- .../libtorrent4j/swig/libtorrent_errors.java | 6 +- .../org/libtorrent4j/swig/libtorrent_jni.java | 6 +- .../swig/list_files_listener.java | 18 +- .../swig/listen_failed_alert.java | 18 +- .../swig/listen_succeeded_alert.java | 18 +- .../swig/load_torrent_limits.java | 18 +- .../java/org/libtorrent4j/swig/log_alert.java | 18 +- .../libtorrent4j/swig/lsd_error_alert.java | 18 +- .../org/libtorrent4j/swig/lsd_peer_alert.java | 18 +- .../swig/metadata_failed_alert.java | 18 +- .../swig/metadata_received_alert.java | 18 +- .../org/libtorrent4j/swig/metric_type_t.java | 6 +- .../org/libtorrent4j/swig/move_flags_t.java | 6 +- .../org/libtorrent4j/swig/operation_t.java | 6 +- .../swig/oversized_file_alert.java | 18 +- .../libtorrent4j/swig/partial_piece_info.java | 18 +- .../swig/partial_piece_info_vector.java | 18 +- .../org/libtorrent4j/swig/pause_flags_t.java | 18 +- .../org/libtorrent4j/swig/peer_alert.java | 18 +- .../org/libtorrent4j/swig/peer_ban_alert.java | 18 +- .../libtorrent4j/swig/peer_blocked_alert.java | 18 +- .../libtorrent4j/swig/peer_class_info.java | 18 +- .../swig/peer_class_type_filter.java | 18 +- .../libtorrent4j/swig/peer_connect_alert.java | 18 +- .../swig/peer_disconnected_alert.java | 18 +- .../libtorrent4j/swig/peer_error_alert.java | 18 +- .../org/libtorrent4j/swig/peer_flags_t.java | 18 +- .../java/org/libtorrent4j/swig/peer_info.java | 18 +- .../libtorrent4j/swig/peer_info_alert.java | 18 +- .../libtorrent4j/swig/peer_info_vector.java | 18 +- .../org/libtorrent4j/swig/peer_log_alert.java | 18 +- .../org/libtorrent4j/swig/peer_request.java | 18 +- .../libtorrent4j/swig/peer_snubbed_alert.java | 18 +- .../swig/peer_source_flags_t.java | 18 +- .../swig/peer_unsnubbed_alert.java | 18 +- .../libtorrent4j/swig/performance_alert.java | 18 +- .../org/libtorrent4j/swig/pex_flags_t.java | 18 +- .../org/libtorrent4j/swig/picker_flags_t.java | 18 +- .../libtorrent4j/swig/picker_log_alert.java | 18 +- .../swig/piece_availability_alert.java | 18 +- .../org/libtorrent4j/swig/piece_block.java | 18 +- .../libtorrent4j/swig/piece_block_vector.java | 18 +- .../swig/piece_finished_alert.java | 18 +- .../libtorrent4j/swig/piece_info_alert.java | 18 +- .../org/libtorrent4j/swig/port_filter.java | 18 +- .../org/libtorrent4j/swig/portmap_alert.java | 18 +- .../swig/portmap_error_alert.java | 18 +- .../libtorrent4j/swig/portmap_log_alert.java | 18 +- .../libtorrent4j/swig/portmap_protocol.java | 6 +- .../libtorrent4j/swig/portmap_transport.java | 6 +- .../libtorrent4j/swig/protocol_version.java | 6 +- .../libtorrent4j/swig/read_piece_alert.java | 18 +- .../libtorrent4j/swig/reannounce_flags_t.java | 18 +- .../org/libtorrent4j/swig/remove_flags_t.java | 18 +- .../swig/reopen_network_flags_t.java | 18 +- .../swig/request_dropped_alert.java | 18 +- .../swig/resume_data_flags_t.java | 18 +- .../swig/save_resume_data_alert.java | 18 +- .../swig/save_resume_data_failed_alert.java | 18 +- .../libtorrent4j/swig/save_state_flags_t.java | 18 +- .../swig/scrape_failed_alert.java | 18 +- .../libtorrent4j/swig/scrape_reply_alert.java | 18 +- .../java/org/libtorrent4j/swig/session.java | 20 +- .../swig/session_error_alert.java | 18 +- .../libtorrent4j/swig/session_flags_t.java | 18 +- .../org/libtorrent4j/swig/session_handle.java | 18 +- .../org/libtorrent4j/swig/session_params.java | 18 +- .../org/libtorrent4j/swig/session_proxy.java | 18 +- .../swig/session_stats_alert.java | 18 +- .../swig/session_stats_header_alert.java | 18 +- .../swig/set_piece_hashes_listener.java | 18 +- .../libtorrent4j/swig/settings_interface.java | 18 +- .../org/libtorrent4j/swig/settings_pack.java | 18 +- .../java/org/libtorrent4j/swig/sha1_hash.java | 18 +- .../swig/sha1_hash_udp_endpoint_pair.java | 18 +- .../sha1_hash_udp_endpoint_pair_vector.java | 18 +- .../libtorrent4j/swig/sha1_hash_vector.java | 18 +- .../org/libtorrent4j/swig/sha256_hash.java | 18 +- .../libtorrent4j/swig/sha256_hash_vector.java | 18 +- .../swig/sha256_hash_vector_vector.java | 18 +- .../org/libtorrent4j/swig/socket_type_t.java | 6 +- .../org/libtorrent4j/swig/socks5_alert.java | 18 +- .../swig/state_changed_alert.java | 18 +- .../libtorrent4j/swig/state_update_alert.java | 18 +- .../org/libtorrent4j/swig/stats_metric.java | 18 +- .../swig/stats_metric_vector.java | 18 +- .../org/libtorrent4j/swig/status_flags_t.java | 18 +- .../org/libtorrent4j/swig/storage_error.java | 18 +- .../org/libtorrent4j/swig/storage_mode_t.java | 6 +- .../swig/storage_moved_alert.java | 18 +- .../swig/storage_moved_failed_alert.java | 18 +- .../libtorrent4j/swig/string_entry_map.java | 30 +- .../libtorrent4j/swig/string_int_pair.java | 18 +- .../swig/string_int_pair_vector.java | 18 +- .../libtorrent4j/swig/string_string_map.java | 30 +- .../libtorrent4j/swig/string_string_pair.java | 18 +- .../swig/string_string_pair_vector.java | 18 +- .../org/libtorrent4j/swig/string_vector.java | 18 +- .../org/libtorrent4j/swig/tcp_endpoint.java | 18 +- .../swig/tcp_endpoint_vector.java | 18 +- .../org/libtorrent4j/swig/torrent_alert.java | 18 +- .../swig/torrent_checked_alert.java | 18 +- .../swig/torrent_conflict_alert.java | 18 +- .../swig/torrent_delete_failed_alert.java | 18 +- .../swig/torrent_deleted_alert.java | 18 +- .../swig/torrent_error_alert.java | 18 +- .../swig/torrent_finished_alert.java | 18 +- .../libtorrent4j/swig/torrent_flags_t.java | 18 +- .../org/libtorrent4j/swig/torrent_handle.java | 18 +- .../swig/torrent_handle_vector.java | 18 +- .../org/libtorrent4j/swig/torrent_info.java | 18 +- .../libtorrent4j/swig/torrent_log_alert.java | 18 +- .../swig/torrent_need_cert_alert.java | 18 +- .../swig/torrent_paused_alert.java | 18 +- .../swig/torrent_removed_alert.java | 18 +- .../swig/torrent_resumed_alert.java | 18 +- .../org/libtorrent4j/swig/torrent_status.java | 18 +- .../swig/torrent_status_vector.java | 18 +- .../org/libtorrent4j/swig/tracker_alert.java | 18 +- .../swig/tracker_announce_alert.java | 18 +- .../swig/tracker_error_alert.java | 18 +- .../libtorrent4j/swig/tracker_list_alert.java | 18 +- .../swig/tracker_reply_alert.java | 18 +- .../swig/tracker_warning_alert.java | 18 +- .../libtorrent4j/swig/trackerid_alert.java | 18 +- .../org/libtorrent4j/swig/udp_endpoint.java | 18 +- .../swig/udp_endpoint_vector.java | 18 +- .../libtorrent4j/swig/udp_error_alert.java | 18 +- .../swig/unwanted_block_alert.java | 18 +- .../org/libtorrent4j/swig/url_seed_alert.java | 18 +- .../org/libtorrent4j/swig/web_seed_entry.java | 18 +- .../swig/web_seed_entry_vector.java | 18 +- .../swig/write_torrent_flags_t.java | 18 +- swig/libtorrent_jni.cpp | 2620 +++++++++-------- swig/libtorrent_jni.h | 10 +- swig/run-swig.sh | 4 +- 242 files changed, 4752 insertions(+), 2027 deletions(-) diff --git a/changelog.txt b/changelog.txt index 44df0380..c1cf4652 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,5 @@ * update to libtorrent master + * using SWIG 4.1.1 * improved java api layer * lt:allow to change save path without any additional actions * lt:allow to change save path without moving any files diff --git a/src/main/java/org/libtorrent4j/swig/add_piece_flags_t.java b/src/main/java/org/libtorrent4j/swig/add_piece_flags_t.java index be56679a..40ae4b63 100644 --- a/src/main/java/org/libtorrent4j/swig/add_piece_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/add_piece_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(add_piece_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(add_piece_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/add_torrent_alert.java b/src/main/java/org/libtorrent4j/swig/add_torrent_alert.java index 816fda1c..36847507 100644 --- a/src/main/java/org/libtorrent4j/swig/add_torrent_alert.java +++ b/src/main/java/org/libtorrent4j/swig/add_torrent_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(add_torrent_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(add_torrent_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/add_torrent_params.java b/src/main/java/org/libtorrent4j/swig/add_torrent_params.java index ad40cc40..916d5402 100644 --- a/src/main/java/org/libtorrent4j/swig/add_torrent_params.java +++ b/src/main/java/org/libtorrent4j/swig/add_torrent_params.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(add_torrent_params obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(add_torrent_params obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); @@ -41,7 +53,7 @@ public add_torrent_params() { } public add_torrent_params(add_torrent_params arg0) { - this(libtorrent_jni.new_add_torrent_params__SWIG_1(add_torrent_params.getCPtr(arg0), arg0), true); + this(libtorrent_jni.new_add_torrent_params__SWIG_1(add_torrent_params.swigRelease(arg0), arg0), true); } public void setVersion(int value) { diff --git a/src/main/java/org/libtorrent4j/swig/address.java b/src/main/java/org/libtorrent4j/swig/address.java index a61e34cc..281562ff 100644 --- a/src/main/java/org/libtorrent4j/swig/address.java +++ b/src/main/java/org/libtorrent4j/swig/address.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(address obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(address obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/address_sha1_hash_pair.java b/src/main/java/org/libtorrent4j/swig/address_sha1_hash_pair.java index 76ab5263..617c7abf 100644 --- a/src/main/java/org/libtorrent4j/swig/address_sha1_hash_pair.java +++ b/src/main/java/org/libtorrent4j/swig/address_sha1_hash_pair.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(address_sha1_hash_pair obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(address_sha1_hash_pair obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/address_sha1_hash_pair_vector.java b/src/main/java/org/libtorrent4j/swig/address_sha1_hash_pair_vector.java index 1ba23266..338e8328 100644 --- a/src/main/java/org/libtorrent4j/swig/address_sha1_hash_pair_vector.java +++ b/src/main/java/org/libtorrent4j/swig/address_sha1_hash_pair_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(address_sha1_hash_pair_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(address_sha1_hash_pair_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/alert.java b/src/main/java/org/libtorrent4j/swig/alert.java index 5d15ee11..cdf10058 100644 --- a/src/main/java/org/libtorrent4j/swig/alert.java +++ b/src/main/java/org/libtorrent4j/swig/alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/alert_category_t.java b/src/main/java/org/libtorrent4j/swig/alert_category_t.java index dce0b2a0..f23ecd39 100644 --- a/src/main/java/org/libtorrent4j/swig/alert_category_t.java +++ b/src/main/java/org/libtorrent4j/swig/alert_category_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(alert_category_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(alert_category_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/alert_notify_callback.java b/src/main/java/org/libtorrent4j/swig/alert_notify_callback.java index 879f2039..b05f2109 100644 --- a/src/main/java/org/libtorrent4j/swig/alert_notify_callback.java +++ b/src/main/java/org/libtorrent4j/swig/alert_notify_callback.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(alert_notify_callback obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(alert_notify_callback obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/alert_priority.java b/src/main/java/org/libtorrent4j/swig/alert_priority.java index 43ef2d19..021e1a48 100644 --- a/src/main/java/org/libtorrent4j/swig/alert_priority.java +++ b/src/main/java/org/libtorrent4j/swig/alert_priority.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/alert_ptr_vector.java b/src/main/java/org/libtorrent4j/swig/alert_ptr_vector.java index b4e853f7..1dd8f440 100644 --- a/src/main/java/org/libtorrent4j/swig/alert_ptr_vector.java +++ b/src/main/java/org/libtorrent4j/swig/alert_ptr_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(alert_ptr_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(alert_ptr_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/alerts_dropped_alert.java b/src/main/java/org/libtorrent4j/swig/alerts_dropped_alert.java index 62b38f22..8982ad42 100644 --- a/src/main/java/org/libtorrent4j/swig/alerts_dropped_alert.java +++ b/src/main/java/org/libtorrent4j/swig/alerts_dropped_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(alerts_dropped_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(alerts_dropped_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/announce_endpoint.java b/src/main/java/org/libtorrent4j/swig/announce_endpoint.java index a6e85d81..ef82d9ea 100644 --- a/src/main/java/org/libtorrent4j/swig/announce_endpoint.java +++ b/src/main/java/org/libtorrent4j/swig/announce_endpoint.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(announce_endpoint obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(announce_endpoint obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/announce_endpoint_vector.java b/src/main/java/org/libtorrent4j/swig/announce_endpoint_vector.java index cdef542a..90fe5952 100644 --- a/src/main/java/org/libtorrent4j/swig/announce_endpoint_vector.java +++ b/src/main/java/org/libtorrent4j/swig/announce_endpoint_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(announce_endpoint_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(announce_endpoint_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/announce_entry.java b/src/main/java/org/libtorrent4j/swig/announce_entry.java index 2d8d45c6..f6edccd5 100644 --- a/src/main/java/org/libtorrent4j/swig/announce_entry.java +++ b/src/main/java/org/libtorrent4j/swig/announce_entry.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(announce_entry obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(announce_entry obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/announce_entry_vector.java b/src/main/java/org/libtorrent4j/swig/announce_entry_vector.java index 56824b13..57259cf5 100644 --- a/src/main/java/org/libtorrent4j/swig/announce_entry_vector.java +++ b/src/main/java/org/libtorrent4j/swig/announce_entry_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(announce_entry_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(announce_entry_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/announce_infohash.java b/src/main/java/org/libtorrent4j/swig/announce_infohash.java index 6b3e205d..c011340c 100644 --- a/src/main/java/org/libtorrent4j/swig/announce_infohash.java +++ b/src/main/java/org/libtorrent4j/swig/announce_infohash.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(announce_infohash obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(announce_infohash obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/bandwidth_state_flags_t.java b/src/main/java/org/libtorrent4j/swig/bandwidth_state_flags_t.java index aaa4c47c..39d3abe5 100644 --- a/src/main/java/org/libtorrent4j/swig/bandwidth_state_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/bandwidth_state_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(bandwidth_state_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(bandwidth_state_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/bdecode_errors.java b/src/main/java/org/libtorrent4j/swig/bdecode_errors.java index a8b77299..b37c1de6 100644 --- a/src/main/java/org/libtorrent4j/swig/bdecode_errors.java +++ b/src/main/java/org/libtorrent4j/swig/bdecode_errors.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/bdecode_node.java b/src/main/java/org/libtorrent4j/swig/bdecode_node.java index 9f1d6e3f..5880c087 100644 --- a/src/main/java/org/libtorrent4j/swig/bdecode_node.java +++ b/src/main/java/org/libtorrent4j/swig/bdecode_node.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(bdecode_node obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(bdecode_node obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/bdecode_node_bdecode_node_pair.java b/src/main/java/org/libtorrent4j/swig/bdecode_node_bdecode_node_pair.java index 814f9163..d264a074 100644 --- a/src/main/java/org/libtorrent4j/swig/bdecode_node_bdecode_node_pair.java +++ b/src/main/java/org/libtorrent4j/swig/bdecode_node_bdecode_node_pair.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(bdecode_node_bdecode_node_pair obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(bdecode_node_bdecode_node_pair obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/bitfield.java b/src/main/java/org/libtorrent4j/swig/bitfield.java index 0f7ac474..1f680ce2 100644 --- a/src/main/java/org/libtorrent4j/swig/bitfield.java +++ b/src/main/java/org/libtorrent4j/swig/bitfield.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(bitfield obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(bitfield obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/bitfield_vector.java b/src/main/java/org/libtorrent4j/swig/bitfield_vector.java index 4ea8c8f7..0d8ed8e1 100644 --- a/src/main/java/org/libtorrent4j/swig/bitfield_vector.java +++ b/src/main/java/org/libtorrent4j/swig/bitfield_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(bitfield_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(bitfield_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/bitset_128.java b/src/main/java/org/libtorrent4j/swig/bitset_128.java index 11734fcb..2aae5878 100644 --- a/src/main/java/org/libtorrent4j/swig/bitset_128.java +++ b/src/main/java/org/libtorrent4j/swig/bitset_128.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(bitset_128 obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(bitset_128 obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/block_downloading_alert.java b/src/main/java/org/libtorrent4j/swig/block_downloading_alert.java index 92bc1983..c6bfa202 100644 --- a/src/main/java/org/libtorrent4j/swig/block_downloading_alert.java +++ b/src/main/java/org/libtorrent4j/swig/block_downloading_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(block_downloading_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(block_downloading_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/block_finished_alert.java b/src/main/java/org/libtorrent4j/swig/block_finished_alert.java index 91a9e7b6..0f44c428 100644 --- a/src/main/java/org/libtorrent4j/swig/block_finished_alert.java +++ b/src/main/java/org/libtorrent4j/swig/block_finished_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(block_finished_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(block_finished_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/block_info.java b/src/main/java/org/libtorrent4j/swig/block_info.java index 7e27c144..ae65af3e 100644 --- a/src/main/java/org/libtorrent4j/swig/block_info.java +++ b/src/main/java/org/libtorrent4j/swig/block_info.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(block_info obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(block_info obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/block_info_vector.java b/src/main/java/org/libtorrent4j/swig/block_info_vector.java index 5049f05b..77492267 100644 --- a/src/main/java/org/libtorrent4j/swig/block_info_vector.java +++ b/src/main/java/org/libtorrent4j/swig/block_info_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(block_info_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(block_info_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/block_timeout_alert.java b/src/main/java/org/libtorrent4j/swig/block_timeout_alert.java index 9761488a..be35dd79 100644 --- a/src/main/java/org/libtorrent4j/swig/block_timeout_alert.java +++ b/src/main/java/org/libtorrent4j/swig/block_timeout_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(block_timeout_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(block_timeout_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/block_uploaded_alert.java b/src/main/java/org/libtorrent4j/swig/block_uploaded_alert.java index 0dd14840..5af98904 100644 --- a/src/main/java/org/libtorrent4j/swig/block_uploaded_alert.java +++ b/src/main/java/org/libtorrent4j/swig/block_uploaded_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(block_uploaded_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(block_uploaded_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/bool_vector.java b/src/main/java/org/libtorrent4j/swig/bool_vector.java index f83be323..36348205 100644 --- a/src/main/java/org/libtorrent4j/swig/bool_vector.java +++ b/src/main/java/org/libtorrent4j/swig/bool_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(bool_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(bool_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/bool_vector_vector.java b/src/main/java/org/libtorrent4j/swig/bool_vector_vector.java index d9ccad48..36a83a1c 100644 --- a/src/main/java/org/libtorrent4j/swig/bool_vector_vector.java +++ b/src/main/java/org/libtorrent4j/swig/bool_vector_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(bool_vector_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(bool_vector_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/boost_string_entry_map.java b/src/main/java/org/libtorrent4j/swig/boost_string_entry_map.java index aee3821b..f2692ac5 100644 --- a/src/main/java/org/libtorrent4j/swig/boost_string_entry_map.java +++ b/src/main/java/org/libtorrent4j/swig/boost_string_entry_map.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(boost_string_entry_map obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(boost_string_entry_map obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/byte_array_32.java b/src/main/java/org/libtorrent4j/swig/byte_array_32.java index 409bf89b..a0a709df 100644 --- a/src/main/java/org/libtorrent4j/swig/byte_array_32.java +++ b/src/main/java/org/libtorrent4j/swig/byte_array_32.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(byte_array_32 obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(byte_array_32 obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/byte_array_64.java b/src/main/java/org/libtorrent4j/swig/byte_array_64.java index c7e1fc1e..321dbb5b 100644 --- a/src/main/java/org/libtorrent4j/swig/byte_array_64.java +++ b/src/main/java/org/libtorrent4j/swig/byte_array_64.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(byte_array_64 obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(byte_array_64 obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/byte_span.java b/src/main/java/org/libtorrent4j/swig/byte_span.java index 736d6bc9..33399ebe 100644 --- a/src/main/java/org/libtorrent4j/swig/byte_span.java +++ b/src/main/java/org/libtorrent4j/swig/byte_span.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(byte_span obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(byte_span obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/byte_vector.java b/src/main/java/org/libtorrent4j/swig/byte_vector.java index 1090fa04..1482a940 100644 --- a/src/main/java/org/libtorrent4j/swig/byte_vector.java +++ b/src/main/java/org/libtorrent4j/swig/byte_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(byte_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(byte_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/byte_vector_byte_vector_pair.java b/src/main/java/org/libtorrent4j/swig/byte_vector_byte_vector_pair.java index b36c1a98..38d29444 100644 --- a/src/main/java/org/libtorrent4j/swig/byte_vector_byte_vector_pair.java +++ b/src/main/java/org/libtorrent4j/swig/byte_vector_byte_vector_pair.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(byte_vector_byte_vector_pair obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(byte_vector_byte_vector_pair obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/cache_flushed_alert.java b/src/main/java/org/libtorrent4j/swig/cache_flushed_alert.java index 35f55824..e5be14f3 100644 --- a/src/main/java/org/libtorrent4j/swig/cache_flushed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/cache_flushed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(cache_flushed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(cache_flushed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/client_data_t.java b/src/main/java/org/libtorrent4j/swig/client_data_t.java index ee42e835..77476c58 100644 --- a/src/main/java/org/libtorrent4j/swig/client_data_t.java +++ b/src/main/java/org/libtorrent4j/swig/client_data_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(client_data_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(client_data_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/close_reason_t.java b/src/main/java/org/libtorrent4j/swig/close_reason_t.java index 00288349..44553979 100644 --- a/src/main/java/org/libtorrent4j/swig/close_reason_t.java +++ b/src/main/java/org/libtorrent4j/swig/close_reason_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/connection_type_t.java b/src/main/java/org/libtorrent4j/swig/connection_type_t.java index 46b25385..2a6fad57 100644 --- a/src/main/java/org/libtorrent4j/swig/connection_type_t.java +++ b/src/main/java/org/libtorrent4j/swig/connection_type_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(connection_type_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(connection_type_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/counters.java b/src/main/java/org/libtorrent4j/swig/counters.java index 0275750c..130af3ed 100644 --- a/src/main/java/org/libtorrent4j/swig/counters.java +++ b/src/main/java/org/libtorrent4j/swig/counters.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(counters obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(counters obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/create_file_entry.java b/src/main/java/org/libtorrent4j/swig/create_file_entry.java index 66b1ea31..9bb71920 100644 --- a/src/main/java/org/libtorrent4j/swig/create_file_entry.java +++ b/src/main/java/org/libtorrent4j/swig/create_file_entry.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(create_file_entry obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(create_file_entry obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/create_file_entry_vector.java b/src/main/java/org/libtorrent4j/swig/create_file_entry_vector.java index 92d45607..418ff50d 100644 --- a/src/main/java/org/libtorrent4j/swig/create_file_entry_vector.java +++ b/src/main/java/org/libtorrent4j/swig/create_file_entry_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(create_file_entry_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(create_file_entry_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/create_flags_t.java b/src/main/java/org/libtorrent4j/swig/create_flags_t.java index aedcbfd2..10734ae9 100644 --- a/src/main/java/org/libtorrent4j/swig/create_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/create_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(create_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(create_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/create_torrent.java b/src/main/java/org/libtorrent4j/swig/create_torrent.java index a4ed3d88..19fe5750 100644 --- a/src/main/java/org/libtorrent4j/swig/create_torrent.java +++ b/src/main/java/org/libtorrent4j/swig/create_torrent.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(create_torrent obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(create_torrent obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/deadline_flags_t.java b/src/main/java/org/libtorrent4j/swig/deadline_flags_t.java index f60c2801..4929b38b 100644 --- a/src/main/java/org/libtorrent4j/swig/deadline_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/deadline_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(deadline_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(deadline_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_announce_alert.java b/src/main/java/org/libtorrent4j/swig/dht_announce_alert.java index 4ba956d1..4148bbf5 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_announce_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_announce_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_announce_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_announce_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_bootstrap_alert.java b/src/main/java/org/libtorrent4j/swig/dht_bootstrap_alert.java index 03525c83..cfd071b3 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_bootstrap_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_bootstrap_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_bootstrap_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_bootstrap_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_direct_response_alert.java b/src/main/java/org/libtorrent4j/swig/dht_direct_response_alert.java index 497439b7..b001467d 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_direct_response_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_direct_response_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_direct_response_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_direct_response_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_error_alert.java b/src/main/java/org/libtorrent4j/swig/dht_error_alert.java index dfadd3d0..49a81f21 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_error_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_error_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_error_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_error_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_get_peers_alert.java b/src/main/java/org/libtorrent4j/swig/dht_get_peers_alert.java index a6c7dbed..091b760f 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_get_peers_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_get_peers_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_get_peers_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_get_peers_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_get_peers_reply_alert.java b/src/main/java/org/libtorrent4j/swig/dht_get_peers_reply_alert.java index cfad4d59..38808d09 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_get_peers_reply_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_get_peers_reply_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_get_peers_reply_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_get_peers_reply_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_immutable_item_alert.java b/src/main/java/org/libtorrent4j/swig/dht_immutable_item_alert.java index e1a4fccf..be88c052 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_immutable_item_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_immutable_item_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_immutable_item_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_immutable_item_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_live_nodes_alert.java b/src/main/java/org/libtorrent4j/swig/dht_live_nodes_alert.java index ac866ccc..4d1d546a 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_live_nodes_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_live_nodes_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_live_nodes_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_live_nodes_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_log_alert.java b/src/main/java/org/libtorrent4j/swig/dht_log_alert.java index a70f2928..959b0f0f 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_log_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_log_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_log_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_log_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_lookup.java b/src/main/java/org/libtorrent4j/swig/dht_lookup.java index 2defdf3f..45126760 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_lookup.java +++ b/src/main/java/org/libtorrent4j/swig/dht_lookup.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(dht_lookup obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_lookup obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_lookup_vector.java b/src/main/java/org/libtorrent4j/swig/dht_lookup_vector.java index e1728897..a37e1402 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_lookup_vector.java +++ b/src/main/java/org/libtorrent4j/swig/dht_lookup_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(dht_lookup_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_lookup_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_mutable_item_alert.java b/src/main/java/org/libtorrent4j/swig/dht_mutable_item_alert.java index 43f545e5..996e005f 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_mutable_item_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_mutable_item_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_mutable_item_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_mutable_item_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_outgoing_get_peers_alert.java b/src/main/java/org/libtorrent4j/swig/dht_outgoing_get_peers_alert.java index 2a1dcc5a..d2935a03 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_outgoing_get_peers_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_outgoing_get_peers_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_outgoing_get_peers_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_outgoing_get_peers_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_pkt_alert.java b/src/main/java/org/libtorrent4j/swig/dht_pkt_alert.java index 1dc42cb3..34a6a168 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_pkt_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_pkt_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_pkt_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_pkt_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_put_alert.java b/src/main/java/org/libtorrent4j/swig/dht_put_alert.java index 44644f29..e776cbda 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_put_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_put_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_put_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_put_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_reply_alert.java b/src/main/java/org/libtorrent4j/swig/dht_reply_alert.java index cc9051a5..fca2d78a 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_reply_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_reply_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_reply_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_reply_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_routing_bucket.java b/src/main/java/org/libtorrent4j/swig/dht_routing_bucket.java index c1f4cb51..256d0ff2 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_routing_bucket.java +++ b/src/main/java/org/libtorrent4j/swig/dht_routing_bucket.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(dht_routing_bucket obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_routing_bucket obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_routing_bucket_vector.java b/src/main/java/org/libtorrent4j/swig/dht_routing_bucket_vector.java index 62094c7d..8bc034f8 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_routing_bucket_vector.java +++ b/src/main/java/org/libtorrent4j/swig/dht_routing_bucket_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(dht_routing_bucket_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_routing_bucket_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_sample_infohashes_alert.java b/src/main/java/org/libtorrent4j/swig/dht_sample_infohashes_alert.java index d6a0fa09..5d639177 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_sample_infohashes_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_sample_infohashes_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_sample_infohashes_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_sample_infohashes_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_state.java b/src/main/java/org/libtorrent4j/swig/dht_state.java index 7b1945f9..8b6d40b0 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_state.java +++ b/src/main/java/org/libtorrent4j/swig/dht_state.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(dht_state obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_state obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/dht_stats_alert.java b/src/main/java/org/libtorrent4j/swig/dht_stats_alert.java index 27441674..40066f0f 100644 --- a/src/main/java/org/libtorrent4j/swig/dht_stats_alert.java +++ b/src/main/java/org/libtorrent4j/swig/dht_stats_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(dht_stats_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(dht_stats_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/entry.java b/src/main/java/org/libtorrent4j/swig/entry.java index 5fbf4fc4..9639dbfd 100644 --- a/src/main/java/org/libtorrent4j/swig/entry.java +++ b/src/main/java/org/libtorrent4j/swig/entry.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(entry obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(entry obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/entry_vector.java b/src/main/java/org/libtorrent4j/swig/entry_vector.java index 27d4cca9..2129f04c 100644 --- a/src/main/java/org/libtorrent4j/swig/entry_vector.java +++ b/src/main/java/org/libtorrent4j/swig/entry_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(entry_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(entry_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/error_code.java b/src/main/java/org/libtorrent4j/swig/error_code.java index cf2189a8..e9a6f9c8 100644 --- a/src/main/java/org/libtorrent4j/swig/error_code.java +++ b/src/main/java/org/libtorrent4j/swig/error_code.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(error_code obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(error_code obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/event_t.java b/src/main/java/org/libtorrent4j/swig/event_t.java index 56cb8d8d..a83e1b01 100644 --- a/src/main/java/org/libtorrent4j/swig/event_t.java +++ b/src/main/java/org/libtorrent4j/swig/event_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/external_ip_alert.java b/src/main/java/org/libtorrent4j/swig/external_ip_alert.java index b3a37735..f0b194ae 100644 --- a/src/main/java/org/libtorrent4j/swig/external_ip_alert.java +++ b/src/main/java/org/libtorrent4j/swig/external_ip_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(external_ip_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(external_ip_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/fastresume_rejected_alert.java b/src/main/java/org/libtorrent4j/swig/fastresume_rejected_alert.java index d5f32c31..471b9837 100644 --- a/src/main/java/org/libtorrent4j/swig/fastresume_rejected_alert.java +++ b/src/main/java/org/libtorrent4j/swig/fastresume_rejected_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(fastresume_rejected_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(fastresume_rejected_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/file_completed_alert.java b/src/main/java/org/libtorrent4j/swig/file_completed_alert.java index 4482ba04..745d3f6e 100644 --- a/src/main/java/org/libtorrent4j/swig/file_completed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/file_completed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(file_completed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(file_completed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/file_error_alert.java b/src/main/java/org/libtorrent4j/swig/file_error_alert.java index ffe0ab9e..822404f6 100644 --- a/src/main/java/org/libtorrent4j/swig/file_error_alert.java +++ b/src/main/java/org/libtorrent4j/swig/file_error_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(file_error_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(file_error_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/file_flags_t.java b/src/main/java/org/libtorrent4j/swig/file_flags_t.java index abf37e9b..645ff76d 100644 --- a/src/main/java/org/libtorrent4j/swig/file_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/file_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(file_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(file_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/file_prio_alert.java b/src/main/java/org/libtorrent4j/swig/file_prio_alert.java index 537acdf7..a940ab58 100644 --- a/src/main/java/org/libtorrent4j/swig/file_prio_alert.java +++ b/src/main/java/org/libtorrent4j/swig/file_prio_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(file_prio_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(file_prio_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/file_progress_alert.java b/src/main/java/org/libtorrent4j/swig/file_progress_alert.java index 41b7609f..1ab11fa0 100644 --- a/src/main/java/org/libtorrent4j/swig/file_progress_alert.java +++ b/src/main/java/org/libtorrent4j/swig/file_progress_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(file_progress_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(file_progress_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/file_progress_flags_t.java b/src/main/java/org/libtorrent4j/swig/file_progress_flags_t.java index b20a2015..afec9ea2 100644 --- a/src/main/java/org/libtorrent4j/swig/file_progress_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/file_progress_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(file_progress_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(file_progress_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/file_rename_failed_alert.java b/src/main/java/org/libtorrent4j/swig/file_rename_failed_alert.java index 88b2868d..60e92c83 100644 --- a/src/main/java/org/libtorrent4j/swig/file_rename_failed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/file_rename_failed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(file_rename_failed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(file_rename_failed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/file_renamed_alert.java b/src/main/java/org/libtorrent4j/swig/file_renamed_alert.java index 0b8f64a7..c92c99e3 100644 --- a/src/main/java/org/libtorrent4j/swig/file_renamed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/file_renamed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(file_renamed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(file_renamed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/file_slice.java b/src/main/java/org/libtorrent4j/swig/file_slice.java index f5e0bb53..e9263920 100644 --- a/src/main/java/org/libtorrent4j/swig/file_slice.java +++ b/src/main/java/org/libtorrent4j/swig/file_slice.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(file_slice obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(file_slice obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/file_slice_vector.java b/src/main/java/org/libtorrent4j/swig/file_slice_vector.java index ed49abfa..57ce2bf6 100644 --- a/src/main/java/org/libtorrent4j/swig/file_slice_vector.java +++ b/src/main/java/org/libtorrent4j/swig/file_slice_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(file_slice_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(file_slice_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/file_storage.java b/src/main/java/org/libtorrent4j/swig/file_storage.java index fd401ef4..7a07c995 100644 --- a/src/main/java/org/libtorrent4j/swig/file_storage.java +++ b/src/main/java/org/libtorrent4j/swig/file_storage.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(file_storage obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(file_storage obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/hash_failed_alert.java b/src/main/java/org/libtorrent4j/swig/hash_failed_alert.java index c8d27bcd..d68d26a3 100644 --- a/src/main/java/org/libtorrent4j/swig/hash_failed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/hash_failed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(hash_failed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(hash_failed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/http_errors.java b/src/main/java/org/libtorrent4j/swig/http_errors.java index f4a2574b..e4ea4a55 100644 --- a/src/main/java/org/libtorrent4j/swig/http_errors.java +++ b/src/main/java/org/libtorrent4j/swig/http_errors.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/i2p_alert.java b/src/main/java/org/libtorrent4j/swig/i2p_alert.java index eb24db2b..7a16adc9 100644 --- a/src/main/java/org/libtorrent4j/swig/i2p_alert.java +++ b/src/main/java/org/libtorrent4j/swig/i2p_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(i2p_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(i2p_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/incoming_connection_alert.java b/src/main/java/org/libtorrent4j/swig/incoming_connection_alert.java index 8e191743..1c9d8570 100644 --- a/src/main/java/org/libtorrent4j/swig/incoming_connection_alert.java +++ b/src/main/java/org/libtorrent4j/swig/incoming_connection_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(incoming_connection_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(incoming_connection_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/incoming_request_alert.java b/src/main/java/org/libtorrent4j/swig/incoming_request_alert.java index a7533f54..0f4a1a2e 100644 --- a/src/main/java/org/libtorrent4j/swig/incoming_request_alert.java +++ b/src/main/java/org/libtorrent4j/swig/incoming_request_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(incoming_request_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(incoming_request_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/info_hash_t.java b/src/main/java/org/libtorrent4j/swig/info_hash_t.java index b35b1830..58794374 100644 --- a/src/main/java/org/libtorrent4j/swig/info_hash_t.java +++ b/src/main/java/org/libtorrent4j/swig/info_hash_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(info_hash_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(info_hash_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/int64_vector.java b/src/main/java/org/libtorrent4j/swig/int64_vector.java index f29c7fc5..b9c4039a 100644 --- a/src/main/java/org/libtorrent4j/swig/int64_vector.java +++ b/src/main/java/org/libtorrent4j/swig/int64_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(int64_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(int64_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/int_bitfield_map.java b/src/main/java/org/libtorrent4j/swig/int_bitfield_map.java index 6c708188..ee64c300 100644 --- a/src/main/java/org/libtorrent4j/swig/int_bitfield_map.java +++ b/src/main/java/org/libtorrent4j/swig/int_bitfield_map.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(int_bitfield_map obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(int_bitfield_map obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); @@ -145,6 +157,18 @@ protected static long getCPtr(Iterator obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(Iterator obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/int_byte_pair.java b/src/main/java/org/libtorrent4j/swig/int_byte_pair.java index 1568585f..6a6f667b 100644 --- a/src/main/java/org/libtorrent4j/swig/int_byte_pair.java +++ b/src/main/java/org/libtorrent4j/swig/int_byte_pair.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(int_byte_pair obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(int_byte_pair obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/int_byte_pair_vector.java b/src/main/java/org/libtorrent4j/swig/int_byte_pair_vector.java index fa357850..4b4510fe 100644 --- a/src/main/java/org/libtorrent4j/swig/int_byte_pair_vector.java +++ b/src/main/java/org/libtorrent4j/swig/int_byte_pair_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(int_byte_pair_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(int_byte_pair_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/int_string_map.java b/src/main/java/org/libtorrent4j/swig/int_string_map.java index 97b81d0f..c77160a2 100644 --- a/src/main/java/org/libtorrent4j/swig/int_string_map.java +++ b/src/main/java/org/libtorrent4j/swig/int_string_map.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(int_string_map obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(int_string_map obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); @@ -145,6 +157,18 @@ protected static long getCPtr(Iterator obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(Iterator obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/int_vector.java b/src/main/java/org/libtorrent4j/swig/int_vector.java index d9043f59..45332a7d 100644 --- a/src/main/java/org/libtorrent4j/swig/int_vector.java +++ b/src/main/java/org/libtorrent4j/swig/int_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(int_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(int_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/invalid_request_alert.java b/src/main/java/org/libtorrent4j/swig/invalid_request_alert.java index 1b1148c5..023b812a 100644 --- a/src/main/java/org/libtorrent4j/swig/invalid_request_alert.java +++ b/src/main/java/org/libtorrent4j/swig/invalid_request_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(invalid_request_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(invalid_request_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/ip_filter.java b/src/main/java/org/libtorrent4j/swig/ip_filter.java index 5c799825..4e0762a4 100644 --- a/src/main/java/org/libtorrent4j/swig/ip_filter.java +++ b/src/main/java/org/libtorrent4j/swig/ip_filter.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(ip_filter obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(ip_filter obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/ip_interface.java b/src/main/java/org/libtorrent4j/swig/ip_interface.java index 92ef49cf..8f75dfaf 100644 --- a/src/main/java/org/libtorrent4j/swig/ip_interface.java +++ b/src/main/java/org/libtorrent4j/swig/ip_interface.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(ip_interface obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(ip_interface obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/ip_interface_vector.java b/src/main/java/org/libtorrent4j/swig/ip_interface_vector.java index c2a14432..0199faaa 100644 --- a/src/main/java/org/libtorrent4j/swig/ip_interface_vector.java +++ b/src/main/java/org/libtorrent4j/swig/ip_interface_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(ip_interface_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(ip_interface_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/ip_route.java b/src/main/java/org/libtorrent4j/swig/ip_route.java index 40c9f0fc..26a9cad7 100644 --- a/src/main/java/org/libtorrent4j/swig/ip_route.java +++ b/src/main/java/org/libtorrent4j/swig/ip_route.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(ip_route obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(ip_route obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/ip_route_vector.java b/src/main/java/org/libtorrent4j/swig/ip_route_vector.java index be571a3b..6f64e45c 100644 --- a/src/main/java/org/libtorrent4j/swig/ip_route_vector.java +++ b/src/main/java/org/libtorrent4j/swig/ip_route_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(ip_route_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(ip_route_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/libtorrent.java b/src/main/java/org/libtorrent4j/swig/libtorrent.java index 4cbe5096..8fe81b17 100644 --- a/src/main/java/org/libtorrent4j/swig/libtorrent.java +++ b/src/main/java/org/libtorrent4j/swig/libtorrent.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/libtorrent_errors.java b/src/main/java/org/libtorrent4j/swig/libtorrent_errors.java index 59c93d97..2393c508 100644 --- a/src/main/java/org/libtorrent4j/swig/libtorrent_errors.java +++ b/src/main/java/org/libtorrent4j/swig/libtorrent_errors.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/libtorrent_jni.java b/src/main/java/org/libtorrent4j/swig/libtorrent_jni.java index de5599d0..21f02841 100644 --- a/src/main/java/org/libtorrent4j/swig/libtorrent_jni.java +++ b/src/main/java/org/libtorrent4j/swig/libtorrent_jni.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/list_files_listener.java b/src/main/java/org/libtorrent4j/swig/list_files_listener.java index 641a14e5..1377459e 100644 --- a/src/main/java/org/libtorrent4j/swig/list_files_listener.java +++ b/src/main/java/org/libtorrent4j/swig/list_files_listener.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(list_files_listener obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(list_files_listener obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/listen_failed_alert.java b/src/main/java/org/libtorrent4j/swig/listen_failed_alert.java index adc783fd..df4277d8 100644 --- a/src/main/java/org/libtorrent4j/swig/listen_failed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/listen_failed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(listen_failed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(listen_failed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/listen_succeeded_alert.java b/src/main/java/org/libtorrent4j/swig/listen_succeeded_alert.java index 6dd2050b..da6e3919 100644 --- a/src/main/java/org/libtorrent4j/swig/listen_succeeded_alert.java +++ b/src/main/java/org/libtorrent4j/swig/listen_succeeded_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(listen_succeeded_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(listen_succeeded_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/load_torrent_limits.java b/src/main/java/org/libtorrent4j/swig/load_torrent_limits.java index aa0b2f1d..abea931b 100644 --- a/src/main/java/org/libtorrent4j/swig/load_torrent_limits.java +++ b/src/main/java/org/libtorrent4j/swig/load_torrent_limits.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(load_torrent_limits obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(load_torrent_limits obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/log_alert.java b/src/main/java/org/libtorrent4j/swig/log_alert.java index 32477c55..14f57993 100644 --- a/src/main/java/org/libtorrent4j/swig/log_alert.java +++ b/src/main/java/org/libtorrent4j/swig/log_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(log_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(log_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/lsd_error_alert.java b/src/main/java/org/libtorrent4j/swig/lsd_error_alert.java index 47fb691d..9db2ea7b 100644 --- a/src/main/java/org/libtorrent4j/swig/lsd_error_alert.java +++ b/src/main/java/org/libtorrent4j/swig/lsd_error_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(lsd_error_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(lsd_error_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/lsd_peer_alert.java b/src/main/java/org/libtorrent4j/swig/lsd_peer_alert.java index ea38891d..cf268788 100644 --- a/src/main/java/org/libtorrent4j/swig/lsd_peer_alert.java +++ b/src/main/java/org/libtorrent4j/swig/lsd_peer_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(lsd_peer_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(lsd_peer_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/metadata_failed_alert.java b/src/main/java/org/libtorrent4j/swig/metadata_failed_alert.java index 568ac997..ddcd18e3 100644 --- a/src/main/java/org/libtorrent4j/swig/metadata_failed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/metadata_failed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(metadata_failed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(metadata_failed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/metadata_received_alert.java b/src/main/java/org/libtorrent4j/swig/metadata_received_alert.java index 205963ff..1aea0434 100644 --- a/src/main/java/org/libtorrent4j/swig/metadata_received_alert.java +++ b/src/main/java/org/libtorrent4j/swig/metadata_received_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(metadata_received_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(metadata_received_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/metric_type_t.java b/src/main/java/org/libtorrent4j/swig/metric_type_t.java index 7e757424..32fb285d 100644 --- a/src/main/java/org/libtorrent4j/swig/metric_type_t.java +++ b/src/main/java/org/libtorrent4j/swig/metric_type_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/move_flags_t.java b/src/main/java/org/libtorrent4j/swig/move_flags_t.java index 777045f5..1402ffc3 100644 --- a/src/main/java/org/libtorrent4j/swig/move_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/move_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/operation_t.java b/src/main/java/org/libtorrent4j/swig/operation_t.java index 0c0ce198..6d2298af 100644 --- a/src/main/java/org/libtorrent4j/swig/operation_t.java +++ b/src/main/java/org/libtorrent4j/swig/operation_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/oversized_file_alert.java b/src/main/java/org/libtorrent4j/swig/oversized_file_alert.java index ac94eb69..01c8a8fe 100644 --- a/src/main/java/org/libtorrent4j/swig/oversized_file_alert.java +++ b/src/main/java/org/libtorrent4j/swig/oversized_file_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(oversized_file_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(oversized_file_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/partial_piece_info.java b/src/main/java/org/libtorrent4j/swig/partial_piece_info.java index 4099443f..18ae5830 100644 --- a/src/main/java/org/libtorrent4j/swig/partial_piece_info.java +++ b/src/main/java/org/libtorrent4j/swig/partial_piece_info.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(partial_piece_info obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(partial_piece_info obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/partial_piece_info_vector.java b/src/main/java/org/libtorrent4j/swig/partial_piece_info_vector.java index 288bc7cd..b042a9e2 100644 --- a/src/main/java/org/libtorrent4j/swig/partial_piece_info_vector.java +++ b/src/main/java/org/libtorrent4j/swig/partial_piece_info_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(partial_piece_info_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(partial_piece_info_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/pause_flags_t.java b/src/main/java/org/libtorrent4j/swig/pause_flags_t.java index 518964f7..5b86cdc0 100644 --- a/src/main/java/org/libtorrent4j/swig/pause_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/pause_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(pause_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(pause_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_alert.java b/src/main/java/org/libtorrent4j/swig/peer_alert.java index cf6d0832..f2f076d4 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_alert.java +++ b/src/main/java/org/libtorrent4j/swig/peer_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(peer_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_ban_alert.java b/src/main/java/org/libtorrent4j/swig/peer_ban_alert.java index bf6d2d5c..11af6605 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_ban_alert.java +++ b/src/main/java/org/libtorrent4j/swig/peer_ban_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(peer_ban_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_ban_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_blocked_alert.java b/src/main/java/org/libtorrent4j/swig/peer_blocked_alert.java index 3ed0d061..a6c60980 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_blocked_alert.java +++ b/src/main/java/org/libtorrent4j/swig/peer_blocked_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(peer_blocked_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_blocked_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_class_info.java b/src/main/java/org/libtorrent4j/swig/peer_class_info.java index dc14a8e0..15cd17cd 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_class_info.java +++ b/src/main/java/org/libtorrent4j/swig/peer_class_info.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(peer_class_info obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_class_info obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_class_type_filter.java b/src/main/java/org/libtorrent4j/swig/peer_class_type_filter.java index e1c49572..cededd3f 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_class_type_filter.java +++ b/src/main/java/org/libtorrent4j/swig/peer_class_type_filter.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(peer_class_type_filter obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_class_type_filter obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_connect_alert.java b/src/main/java/org/libtorrent4j/swig/peer_connect_alert.java index ba15cfdc..0b5be483 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_connect_alert.java +++ b/src/main/java/org/libtorrent4j/swig/peer_connect_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(peer_connect_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_connect_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_disconnected_alert.java b/src/main/java/org/libtorrent4j/swig/peer_disconnected_alert.java index 87906dd1..a0b1bf00 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_disconnected_alert.java +++ b/src/main/java/org/libtorrent4j/swig/peer_disconnected_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(peer_disconnected_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_disconnected_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_error_alert.java b/src/main/java/org/libtorrent4j/swig/peer_error_alert.java index 68d818c1..c1aa1b36 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_error_alert.java +++ b/src/main/java/org/libtorrent4j/swig/peer_error_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(peer_error_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_error_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_flags_t.java b/src/main/java/org/libtorrent4j/swig/peer_flags_t.java index 44a648ad..7f644d96 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/peer_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(peer_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_info.java b/src/main/java/org/libtorrent4j/swig/peer_info.java index 2c7e8412..c3c3f20a 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_info.java +++ b/src/main/java/org/libtorrent4j/swig/peer_info.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(peer_info obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_info obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_info_alert.java b/src/main/java/org/libtorrent4j/swig/peer_info_alert.java index 7fcfe8ae..234751ce 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_info_alert.java +++ b/src/main/java/org/libtorrent4j/swig/peer_info_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(peer_info_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_info_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_info_vector.java b/src/main/java/org/libtorrent4j/swig/peer_info_vector.java index 238ef9d9..3cd6934d 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_info_vector.java +++ b/src/main/java/org/libtorrent4j/swig/peer_info_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(peer_info_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_info_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_log_alert.java b/src/main/java/org/libtorrent4j/swig/peer_log_alert.java index d9ec515a..b8068c90 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_log_alert.java +++ b/src/main/java/org/libtorrent4j/swig/peer_log_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(peer_log_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_log_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_request.java b/src/main/java/org/libtorrent4j/swig/peer_request.java index bb8312a0..2933d082 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_request.java +++ b/src/main/java/org/libtorrent4j/swig/peer_request.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(peer_request obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_request obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_snubbed_alert.java b/src/main/java/org/libtorrent4j/swig/peer_snubbed_alert.java index 79cc645a..26e28ab5 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_snubbed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/peer_snubbed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(peer_snubbed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_snubbed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_source_flags_t.java b/src/main/java/org/libtorrent4j/swig/peer_source_flags_t.java index fed1a3a8..d88713c3 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_source_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/peer_source_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(peer_source_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_source_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/peer_unsnubbed_alert.java b/src/main/java/org/libtorrent4j/swig/peer_unsnubbed_alert.java index 2b3907a7..0a769b07 100644 --- a/src/main/java/org/libtorrent4j/swig/peer_unsnubbed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/peer_unsnubbed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(peer_unsnubbed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(peer_unsnubbed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/performance_alert.java b/src/main/java/org/libtorrent4j/swig/performance_alert.java index c528e634..7c686b42 100644 --- a/src/main/java/org/libtorrent4j/swig/performance_alert.java +++ b/src/main/java/org/libtorrent4j/swig/performance_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(performance_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(performance_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/pex_flags_t.java b/src/main/java/org/libtorrent4j/swig/pex_flags_t.java index 996d804d..fc79961b 100644 --- a/src/main/java/org/libtorrent4j/swig/pex_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/pex_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(pex_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(pex_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/picker_flags_t.java b/src/main/java/org/libtorrent4j/swig/picker_flags_t.java index 370debe4..135c65a6 100644 --- a/src/main/java/org/libtorrent4j/swig/picker_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/picker_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(picker_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(picker_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/picker_log_alert.java b/src/main/java/org/libtorrent4j/swig/picker_log_alert.java index e4a822cc..3c92ea36 100644 --- a/src/main/java/org/libtorrent4j/swig/picker_log_alert.java +++ b/src/main/java/org/libtorrent4j/swig/picker_log_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(picker_log_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(picker_log_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/piece_availability_alert.java b/src/main/java/org/libtorrent4j/swig/piece_availability_alert.java index 2bfa84b4..a365eb69 100644 --- a/src/main/java/org/libtorrent4j/swig/piece_availability_alert.java +++ b/src/main/java/org/libtorrent4j/swig/piece_availability_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(piece_availability_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(piece_availability_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/piece_block.java b/src/main/java/org/libtorrent4j/swig/piece_block.java index d27516b8..4db5f434 100644 --- a/src/main/java/org/libtorrent4j/swig/piece_block.java +++ b/src/main/java/org/libtorrent4j/swig/piece_block.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(piece_block obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(piece_block obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/piece_block_vector.java b/src/main/java/org/libtorrent4j/swig/piece_block_vector.java index 0e1474f4..f7a29d0d 100644 --- a/src/main/java/org/libtorrent4j/swig/piece_block_vector.java +++ b/src/main/java/org/libtorrent4j/swig/piece_block_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(piece_block_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(piece_block_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/piece_finished_alert.java b/src/main/java/org/libtorrent4j/swig/piece_finished_alert.java index 04bb085d..e16f99dd 100644 --- a/src/main/java/org/libtorrent4j/swig/piece_finished_alert.java +++ b/src/main/java/org/libtorrent4j/swig/piece_finished_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(piece_finished_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(piece_finished_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/piece_info_alert.java b/src/main/java/org/libtorrent4j/swig/piece_info_alert.java index 5a0a9bbc..afa7876f 100644 --- a/src/main/java/org/libtorrent4j/swig/piece_info_alert.java +++ b/src/main/java/org/libtorrent4j/swig/piece_info_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(piece_info_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(piece_info_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/port_filter.java b/src/main/java/org/libtorrent4j/swig/port_filter.java index 05bcd3a2..cd82425c 100644 --- a/src/main/java/org/libtorrent4j/swig/port_filter.java +++ b/src/main/java/org/libtorrent4j/swig/port_filter.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(port_filter obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(port_filter obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/portmap_alert.java b/src/main/java/org/libtorrent4j/swig/portmap_alert.java index 2249c1b2..1858c7e1 100644 --- a/src/main/java/org/libtorrent4j/swig/portmap_alert.java +++ b/src/main/java/org/libtorrent4j/swig/portmap_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(portmap_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(portmap_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/portmap_error_alert.java b/src/main/java/org/libtorrent4j/swig/portmap_error_alert.java index 2cc3d779..c715de00 100644 --- a/src/main/java/org/libtorrent4j/swig/portmap_error_alert.java +++ b/src/main/java/org/libtorrent4j/swig/portmap_error_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(portmap_error_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(portmap_error_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/portmap_log_alert.java b/src/main/java/org/libtorrent4j/swig/portmap_log_alert.java index 49070f51..dbad84cd 100644 --- a/src/main/java/org/libtorrent4j/swig/portmap_log_alert.java +++ b/src/main/java/org/libtorrent4j/swig/portmap_log_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(portmap_log_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(portmap_log_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/portmap_protocol.java b/src/main/java/org/libtorrent4j/swig/portmap_protocol.java index 1cf06ef3..83c7de40 100644 --- a/src/main/java/org/libtorrent4j/swig/portmap_protocol.java +++ b/src/main/java/org/libtorrent4j/swig/portmap_protocol.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/portmap_transport.java b/src/main/java/org/libtorrent4j/swig/portmap_transport.java index 73e28d56..fb24ece0 100644 --- a/src/main/java/org/libtorrent4j/swig/portmap_transport.java +++ b/src/main/java/org/libtorrent4j/swig/portmap_transport.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/protocol_version.java b/src/main/java/org/libtorrent4j/swig/protocol_version.java index 83a903f2..faf8fedc 100644 --- a/src/main/java/org/libtorrent4j/swig/protocol_version.java +++ b/src/main/java/org/libtorrent4j/swig/protocol_version.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/read_piece_alert.java b/src/main/java/org/libtorrent4j/swig/read_piece_alert.java index 4f3a3252..4a874650 100644 --- a/src/main/java/org/libtorrent4j/swig/read_piece_alert.java +++ b/src/main/java/org/libtorrent4j/swig/read_piece_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(read_piece_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(read_piece_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/reannounce_flags_t.java b/src/main/java/org/libtorrent4j/swig/reannounce_flags_t.java index 506e20b4..4de1cf2b 100644 --- a/src/main/java/org/libtorrent4j/swig/reannounce_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/reannounce_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(reannounce_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(reannounce_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/remove_flags_t.java b/src/main/java/org/libtorrent4j/swig/remove_flags_t.java index 3642b759..94373d99 100644 --- a/src/main/java/org/libtorrent4j/swig/remove_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/remove_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(remove_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(remove_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/reopen_network_flags_t.java b/src/main/java/org/libtorrent4j/swig/reopen_network_flags_t.java index d882b845..68723a5d 100644 --- a/src/main/java/org/libtorrent4j/swig/reopen_network_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/reopen_network_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(reopen_network_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(reopen_network_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/request_dropped_alert.java b/src/main/java/org/libtorrent4j/swig/request_dropped_alert.java index b7b5bb6c..23190a0a 100644 --- a/src/main/java/org/libtorrent4j/swig/request_dropped_alert.java +++ b/src/main/java/org/libtorrent4j/swig/request_dropped_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(request_dropped_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(request_dropped_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/resume_data_flags_t.java b/src/main/java/org/libtorrent4j/swig/resume_data_flags_t.java index 93c8ec92..54616e38 100644 --- a/src/main/java/org/libtorrent4j/swig/resume_data_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/resume_data_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(resume_data_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(resume_data_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/save_resume_data_alert.java b/src/main/java/org/libtorrent4j/swig/save_resume_data_alert.java index 694abc5f..015a76e6 100644 --- a/src/main/java/org/libtorrent4j/swig/save_resume_data_alert.java +++ b/src/main/java/org/libtorrent4j/swig/save_resume_data_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(save_resume_data_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(save_resume_data_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/save_resume_data_failed_alert.java b/src/main/java/org/libtorrent4j/swig/save_resume_data_failed_alert.java index bf842471..9a7f2ca4 100644 --- a/src/main/java/org/libtorrent4j/swig/save_resume_data_failed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/save_resume_data_failed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(save_resume_data_failed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(save_resume_data_failed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/save_state_flags_t.java b/src/main/java/org/libtorrent4j/swig/save_state_flags_t.java index dc86f956..5e60dbca 100644 --- a/src/main/java/org/libtorrent4j/swig/save_state_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/save_state_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(save_state_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(save_state_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/scrape_failed_alert.java b/src/main/java/org/libtorrent4j/swig/scrape_failed_alert.java index 527ce286..c0f09d04 100644 --- a/src/main/java/org/libtorrent4j/swig/scrape_failed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/scrape_failed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(scrape_failed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(scrape_failed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/scrape_reply_alert.java b/src/main/java/org/libtorrent4j/swig/scrape_reply_alert.java index 0879edb4..f2a3305a 100644 --- a/src/main/java/org/libtorrent4j/swig/scrape_reply_alert.java +++ b/src/main/java/org/libtorrent4j/swig/scrape_reply_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(scrape_reply_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(scrape_reply_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/session.java b/src/main/java/org/libtorrent4j/swig/session.java index c64c0081..98139b1f 100644 --- a/src/main/java/org/libtorrent4j/swig/session.java +++ b/src/main/java/org/libtorrent4j/swig/session.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(session obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(session obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); @@ -45,7 +57,7 @@ public session() { } public session(session arg0) { - this(libtorrent_jni.new_session__SWIG_2(session.getCPtr(arg0), arg0), true); + this(libtorrent_jni.new_session__SWIG_2(session.swigRelease(arg0), arg0), true); } public session_proxy abort() { diff --git a/src/main/java/org/libtorrent4j/swig/session_error_alert.java b/src/main/java/org/libtorrent4j/swig/session_error_alert.java index a760e9de..8fe564ab 100644 --- a/src/main/java/org/libtorrent4j/swig/session_error_alert.java +++ b/src/main/java/org/libtorrent4j/swig/session_error_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(session_error_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(session_error_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/session_flags_t.java b/src/main/java/org/libtorrent4j/swig/session_flags_t.java index 2432aa2e..ec77f6ae 100644 --- a/src/main/java/org/libtorrent4j/swig/session_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/session_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(session_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(session_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/session_handle.java b/src/main/java/org/libtorrent4j/swig/session_handle.java index 99644f14..87149c84 100644 --- a/src/main/java/org/libtorrent4j/swig/session_handle.java +++ b/src/main/java/org/libtorrent4j/swig/session_handle.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(session_handle obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(session_handle obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/session_params.java b/src/main/java/org/libtorrent4j/swig/session_params.java index b809f3cb..26130158 100644 --- a/src/main/java/org/libtorrent4j/swig/session_params.java +++ b/src/main/java/org/libtorrent4j/swig/session_params.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(session_params obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(session_params obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/session_proxy.java b/src/main/java/org/libtorrent4j/swig/session_proxy.java index ab2b7b32..837074d9 100644 --- a/src/main/java/org/libtorrent4j/swig/session_proxy.java +++ b/src/main/java/org/libtorrent4j/swig/session_proxy.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(session_proxy obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(session_proxy obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/session_stats_alert.java b/src/main/java/org/libtorrent4j/swig/session_stats_alert.java index af359d51..75affc15 100644 --- a/src/main/java/org/libtorrent4j/swig/session_stats_alert.java +++ b/src/main/java/org/libtorrent4j/swig/session_stats_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(session_stats_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(session_stats_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/session_stats_header_alert.java b/src/main/java/org/libtorrent4j/swig/session_stats_header_alert.java index 7744efcc..6eb5c25a 100644 --- a/src/main/java/org/libtorrent4j/swig/session_stats_header_alert.java +++ b/src/main/java/org/libtorrent4j/swig/session_stats_header_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(session_stats_header_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(session_stats_header_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/set_piece_hashes_listener.java b/src/main/java/org/libtorrent4j/swig/set_piece_hashes_listener.java index d3be5f14..26b3dc49 100644 --- a/src/main/java/org/libtorrent4j/swig/set_piece_hashes_listener.java +++ b/src/main/java/org/libtorrent4j/swig/set_piece_hashes_listener.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(set_piece_hashes_listener obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(set_piece_hashes_listener obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/settings_interface.java b/src/main/java/org/libtorrent4j/swig/settings_interface.java index c0c957fe..2a566403 100644 --- a/src/main/java/org/libtorrent4j/swig/settings_interface.java +++ b/src/main/java/org/libtorrent4j/swig/settings_interface.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(settings_interface obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(settings_interface obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { diff --git a/src/main/java/org/libtorrent4j/swig/settings_pack.java b/src/main/java/org/libtorrent4j/swig/settings_pack.java index 0a906eff..48e8a5dd 100644 --- a/src/main/java/org/libtorrent4j/swig/settings_pack.java +++ b/src/main/java/org/libtorrent4j/swig/settings_pack.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(settings_pack obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(settings_pack obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/sha1_hash.java b/src/main/java/org/libtorrent4j/swig/sha1_hash.java index cccd065a..1e4f42a9 100644 --- a/src/main/java/org/libtorrent4j/swig/sha1_hash.java +++ b/src/main/java/org/libtorrent4j/swig/sha1_hash.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(sha1_hash obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(sha1_hash obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/sha1_hash_udp_endpoint_pair.java b/src/main/java/org/libtorrent4j/swig/sha1_hash_udp_endpoint_pair.java index aa3fcd0d..c81b1a05 100644 --- a/src/main/java/org/libtorrent4j/swig/sha1_hash_udp_endpoint_pair.java +++ b/src/main/java/org/libtorrent4j/swig/sha1_hash_udp_endpoint_pair.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(sha1_hash_udp_endpoint_pair obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(sha1_hash_udp_endpoint_pair obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/sha1_hash_udp_endpoint_pair_vector.java b/src/main/java/org/libtorrent4j/swig/sha1_hash_udp_endpoint_pair_vector.java index f7e3a070..1fce8fca 100644 --- a/src/main/java/org/libtorrent4j/swig/sha1_hash_udp_endpoint_pair_vector.java +++ b/src/main/java/org/libtorrent4j/swig/sha1_hash_udp_endpoint_pair_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(sha1_hash_udp_endpoint_pair_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(sha1_hash_udp_endpoint_pair_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/sha1_hash_vector.java b/src/main/java/org/libtorrent4j/swig/sha1_hash_vector.java index acd8c0d1..2bea2c1a 100644 --- a/src/main/java/org/libtorrent4j/swig/sha1_hash_vector.java +++ b/src/main/java/org/libtorrent4j/swig/sha1_hash_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(sha1_hash_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(sha1_hash_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/sha256_hash.java b/src/main/java/org/libtorrent4j/swig/sha256_hash.java index f8332f19..8d77efac 100644 --- a/src/main/java/org/libtorrent4j/swig/sha256_hash.java +++ b/src/main/java/org/libtorrent4j/swig/sha256_hash.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(sha256_hash obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(sha256_hash obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/sha256_hash_vector.java b/src/main/java/org/libtorrent4j/swig/sha256_hash_vector.java index 2b162db3..6e2f4bbd 100644 --- a/src/main/java/org/libtorrent4j/swig/sha256_hash_vector.java +++ b/src/main/java/org/libtorrent4j/swig/sha256_hash_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(sha256_hash_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(sha256_hash_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/sha256_hash_vector_vector.java b/src/main/java/org/libtorrent4j/swig/sha256_hash_vector_vector.java index 38bd87a4..5fe21bd0 100644 --- a/src/main/java/org/libtorrent4j/swig/sha256_hash_vector_vector.java +++ b/src/main/java/org/libtorrent4j/swig/sha256_hash_vector_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(sha256_hash_vector_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(sha256_hash_vector_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/socket_type_t.java b/src/main/java/org/libtorrent4j/swig/socket_type_t.java index d1771c71..a70aa6f6 100644 --- a/src/main/java/org/libtorrent4j/swig/socket_type_t.java +++ b/src/main/java/org/libtorrent4j/swig/socket_type_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/socks5_alert.java b/src/main/java/org/libtorrent4j/swig/socks5_alert.java index 72ae861b..dc47a1b0 100644 --- a/src/main/java/org/libtorrent4j/swig/socks5_alert.java +++ b/src/main/java/org/libtorrent4j/swig/socks5_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(socks5_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(socks5_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/state_changed_alert.java b/src/main/java/org/libtorrent4j/swig/state_changed_alert.java index 59ed35f0..c80bed68 100644 --- a/src/main/java/org/libtorrent4j/swig/state_changed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/state_changed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(state_changed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(state_changed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/state_update_alert.java b/src/main/java/org/libtorrent4j/swig/state_update_alert.java index f5987ff1..8e42b4c0 100644 --- a/src/main/java/org/libtorrent4j/swig/state_update_alert.java +++ b/src/main/java/org/libtorrent4j/swig/state_update_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(state_update_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(state_update_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/stats_metric.java b/src/main/java/org/libtorrent4j/swig/stats_metric.java index 61352d95..642ed34b 100644 --- a/src/main/java/org/libtorrent4j/swig/stats_metric.java +++ b/src/main/java/org/libtorrent4j/swig/stats_metric.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(stats_metric obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(stats_metric obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/stats_metric_vector.java b/src/main/java/org/libtorrent4j/swig/stats_metric_vector.java index b1388f86..d3438678 100644 --- a/src/main/java/org/libtorrent4j/swig/stats_metric_vector.java +++ b/src/main/java/org/libtorrent4j/swig/stats_metric_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(stats_metric_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(stats_metric_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/status_flags_t.java b/src/main/java/org/libtorrent4j/swig/status_flags_t.java index 910efc47..3aaf39f1 100644 --- a/src/main/java/org/libtorrent4j/swig/status_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/status_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(status_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(status_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/storage_error.java b/src/main/java/org/libtorrent4j/swig/storage_error.java index 93f40101..43599395 100644 --- a/src/main/java/org/libtorrent4j/swig/storage_error.java +++ b/src/main/java/org/libtorrent4j/swig/storage_error.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(storage_error obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(storage_error obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/storage_mode_t.java b/src/main/java/org/libtorrent4j/swig/storage_mode_t.java index 34790bb8..ec5d60fd 100644 --- a/src/main/java/org/libtorrent4j/swig/storage_mode_t.java +++ b/src/main/java/org/libtorrent4j/swig/storage_mode_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ diff --git a/src/main/java/org/libtorrent4j/swig/storage_moved_alert.java b/src/main/java/org/libtorrent4j/swig/storage_moved_alert.java index f3d8f66d..c3c7d476 100644 --- a/src/main/java/org/libtorrent4j/swig/storage_moved_alert.java +++ b/src/main/java/org/libtorrent4j/swig/storage_moved_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(storage_moved_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(storage_moved_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/storage_moved_failed_alert.java b/src/main/java/org/libtorrent4j/swig/storage_moved_failed_alert.java index 43da63ce..a8c8253c 100644 --- a/src/main/java/org/libtorrent4j/swig/storage_moved_failed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/storage_moved_failed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(storage_moved_failed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(storage_moved_failed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/string_entry_map.java b/src/main/java/org/libtorrent4j/swig/string_entry_map.java index 594a84e2..dbc29551 100644 --- a/src/main/java/org/libtorrent4j/swig/string_entry_map.java +++ b/src/main/java/org/libtorrent4j/swig/string_entry_map.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(string_entry_map obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(string_entry_map obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); @@ -145,6 +157,18 @@ protected static long getCPtr(Iterator obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(Iterator obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/string_int_pair.java b/src/main/java/org/libtorrent4j/swig/string_int_pair.java index 63fc0f4b..6fe38108 100644 --- a/src/main/java/org/libtorrent4j/swig/string_int_pair.java +++ b/src/main/java/org/libtorrent4j/swig/string_int_pair.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(string_int_pair obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(string_int_pair obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/string_int_pair_vector.java b/src/main/java/org/libtorrent4j/swig/string_int_pair_vector.java index b73f6802..aa4e99e7 100644 --- a/src/main/java/org/libtorrent4j/swig/string_int_pair_vector.java +++ b/src/main/java/org/libtorrent4j/swig/string_int_pair_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(string_int_pair_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(string_int_pair_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/string_string_map.java b/src/main/java/org/libtorrent4j/swig/string_string_map.java index 58612828..acfd4f51 100644 --- a/src/main/java/org/libtorrent4j/swig/string_string_map.java +++ b/src/main/java/org/libtorrent4j/swig/string_string_map.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(string_string_map obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(string_string_map obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); @@ -145,6 +157,18 @@ protected static long getCPtr(Iterator obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(Iterator obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/string_string_pair.java b/src/main/java/org/libtorrent4j/swig/string_string_pair.java index f268deb1..1eac385e 100644 --- a/src/main/java/org/libtorrent4j/swig/string_string_pair.java +++ b/src/main/java/org/libtorrent4j/swig/string_string_pair.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(string_string_pair obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(string_string_pair obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/string_string_pair_vector.java b/src/main/java/org/libtorrent4j/swig/string_string_pair_vector.java index 9b35f14c..1dd41052 100644 --- a/src/main/java/org/libtorrent4j/swig/string_string_pair_vector.java +++ b/src/main/java/org/libtorrent4j/swig/string_string_pair_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(string_string_pair_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(string_string_pair_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/string_vector.java b/src/main/java/org/libtorrent4j/swig/string_vector.java index ce7f85c2..031dcfdd 100644 --- a/src/main/java/org/libtorrent4j/swig/string_vector.java +++ b/src/main/java/org/libtorrent4j/swig/string_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(string_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(string_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/tcp_endpoint.java b/src/main/java/org/libtorrent4j/swig/tcp_endpoint.java index 46f2613a..1a1a8c10 100644 --- a/src/main/java/org/libtorrent4j/swig/tcp_endpoint.java +++ b/src/main/java/org/libtorrent4j/swig/tcp_endpoint.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(tcp_endpoint obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(tcp_endpoint obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/tcp_endpoint_vector.java b/src/main/java/org/libtorrent4j/swig/tcp_endpoint_vector.java index 54a1a10a..4a11bcc3 100644 --- a/src/main/java/org/libtorrent4j/swig/tcp_endpoint_vector.java +++ b/src/main/java/org/libtorrent4j/swig/tcp_endpoint_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(tcp_endpoint_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(tcp_endpoint_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_alert.java index 8850f32f..bdbc768e 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_checked_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_checked_alert.java index a32c6759..f6aa835d 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_checked_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_checked_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_checked_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_checked_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_conflict_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_conflict_alert.java index 21e648b3..71758c9c 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_conflict_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_conflict_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_conflict_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_conflict_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_delete_failed_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_delete_failed_alert.java index 97421d76..76e7a64c 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_delete_failed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_delete_failed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_delete_failed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_delete_failed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_deleted_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_deleted_alert.java index 9c4386d7..4ce8af46 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_deleted_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_deleted_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_deleted_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_deleted_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_error_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_error_alert.java index 1a3acea3..59941798 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_error_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_error_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_error_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_error_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_finished_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_finished_alert.java index 709d77f8..4028bfcf 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_finished_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_finished_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_finished_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_finished_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_flags_t.java b/src/main/java/org/libtorrent4j/swig/torrent_flags_t.java index 097df712..444e8657 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(torrent_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_handle.java b/src/main/java/org/libtorrent4j/swig/torrent_handle.java index 32e1c539..ba0e6971 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_handle.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_handle.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(torrent_handle obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_handle obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_handle_vector.java b/src/main/java/org/libtorrent4j/swig/torrent_handle_vector.java index 6f029f2e..9ab1a21a 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_handle_vector.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_handle_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(torrent_handle_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_handle_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_info.java b/src/main/java/org/libtorrent4j/swig/torrent_info.java index eab2b029..b554509a 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_info.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_info.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(torrent_info obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_info obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_log_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_log_alert.java index 0955caa4..fdd5f357 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_log_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_log_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_log_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_log_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_need_cert_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_need_cert_alert.java index a83a719c..9570df8e 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_need_cert_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_need_cert_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_need_cert_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_need_cert_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_paused_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_paused_alert.java index a3b6fdbd..9030d484 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_paused_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_paused_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_paused_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_paused_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_removed_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_removed_alert.java index a15e78a6..9d972e55 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_removed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_removed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_removed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_removed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_resumed_alert.java b/src/main/java/org/libtorrent4j/swig/torrent_resumed_alert.java index 4717435d..850396b8 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_resumed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_resumed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(torrent_resumed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_resumed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_status.java b/src/main/java/org/libtorrent4j/swig/torrent_status.java index c2edb87d..59eeeea3 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_status.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_status.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(torrent_status obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_status obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/torrent_status_vector.java b/src/main/java/org/libtorrent4j/swig/torrent_status_vector.java index 39b9e045..982a2249 100644 --- a/src/main/java/org/libtorrent4j/swig/torrent_status_vector.java +++ b/src/main/java/org/libtorrent4j/swig/torrent_status_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(torrent_status_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(torrent_status_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/tracker_alert.java b/src/main/java/org/libtorrent4j/swig/tracker_alert.java index c2f9cf4c..673b6d1f 100644 --- a/src/main/java/org/libtorrent4j/swig/tracker_alert.java +++ b/src/main/java/org/libtorrent4j/swig/tracker_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(tracker_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(tracker_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/tracker_announce_alert.java b/src/main/java/org/libtorrent4j/swig/tracker_announce_alert.java index 0964a015..d747186f 100644 --- a/src/main/java/org/libtorrent4j/swig/tracker_announce_alert.java +++ b/src/main/java/org/libtorrent4j/swig/tracker_announce_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(tracker_announce_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(tracker_announce_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/tracker_error_alert.java b/src/main/java/org/libtorrent4j/swig/tracker_error_alert.java index 777f7d88..2b9be7ed 100644 --- a/src/main/java/org/libtorrent4j/swig/tracker_error_alert.java +++ b/src/main/java/org/libtorrent4j/swig/tracker_error_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(tracker_error_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(tracker_error_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/tracker_list_alert.java b/src/main/java/org/libtorrent4j/swig/tracker_list_alert.java index b394543e..34214c30 100644 --- a/src/main/java/org/libtorrent4j/swig/tracker_list_alert.java +++ b/src/main/java/org/libtorrent4j/swig/tracker_list_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(tracker_list_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(tracker_list_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/tracker_reply_alert.java b/src/main/java/org/libtorrent4j/swig/tracker_reply_alert.java index a3f5ae1e..712422db 100644 --- a/src/main/java/org/libtorrent4j/swig/tracker_reply_alert.java +++ b/src/main/java/org/libtorrent4j/swig/tracker_reply_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(tracker_reply_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(tracker_reply_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/tracker_warning_alert.java b/src/main/java/org/libtorrent4j/swig/tracker_warning_alert.java index 25d006d4..b1df97a1 100644 --- a/src/main/java/org/libtorrent4j/swig/tracker_warning_alert.java +++ b/src/main/java/org/libtorrent4j/swig/tracker_warning_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(tracker_warning_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(tracker_warning_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/trackerid_alert.java b/src/main/java/org/libtorrent4j/swig/trackerid_alert.java index ba332358..f0de8d62 100644 --- a/src/main/java/org/libtorrent4j/swig/trackerid_alert.java +++ b/src/main/java/org/libtorrent4j/swig/trackerid_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(trackerid_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(trackerid_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/udp_endpoint.java b/src/main/java/org/libtorrent4j/swig/udp_endpoint.java index 4702fdfc..624498bf 100644 --- a/src/main/java/org/libtorrent4j/swig/udp_endpoint.java +++ b/src/main/java/org/libtorrent4j/swig/udp_endpoint.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(udp_endpoint obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(udp_endpoint obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/udp_endpoint_vector.java b/src/main/java/org/libtorrent4j/swig/udp_endpoint_vector.java index b1972f88..d83f01b1 100644 --- a/src/main/java/org/libtorrent4j/swig/udp_endpoint_vector.java +++ b/src/main/java/org/libtorrent4j/swig/udp_endpoint_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(udp_endpoint_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(udp_endpoint_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/udp_error_alert.java b/src/main/java/org/libtorrent4j/swig/udp_error_alert.java index 26a6af04..d38875c0 100644 --- a/src/main/java/org/libtorrent4j/swig/udp_error_alert.java +++ b/src/main/java/org/libtorrent4j/swig/udp_error_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(udp_error_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(udp_error_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/unwanted_block_alert.java b/src/main/java/org/libtorrent4j/swig/unwanted_block_alert.java index 37cf0462..7406bb21 100644 --- a/src/main/java/org/libtorrent4j/swig/unwanted_block_alert.java +++ b/src/main/java/org/libtorrent4j/swig/unwanted_block_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(unwanted_block_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(unwanted_block_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/url_seed_alert.java b/src/main/java/org/libtorrent4j/swig/url_seed_alert.java index a0481179..b8b15517 100644 --- a/src/main/java/org/libtorrent4j/swig/url_seed_alert.java +++ b/src/main/java/org/libtorrent4j/swig/url_seed_alert.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -20,6 +20,18 @@ protected static long getCPtr(url_seed_alert obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(url_seed_alert obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/web_seed_entry.java b/src/main/java/org/libtorrent4j/swig/web_seed_entry.java index 1a73dc8b..c0ac5fee 100644 --- a/src/main/java/org/libtorrent4j/swig/web_seed_entry.java +++ b/src/main/java/org/libtorrent4j/swig/web_seed_entry.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(web_seed_entry obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(web_seed_entry obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/web_seed_entry_vector.java b/src/main/java/org/libtorrent4j/swig/web_seed_entry_vector.java index d0b91ea0..756f06d0 100644 --- a/src/main/java/org/libtorrent4j/swig/web_seed_entry_vector.java +++ b/src/main/java/org/libtorrent4j/swig/web_seed_entry_vector.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(web_seed_entry_vector obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(web_seed_entry_vector obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/src/main/java/org/libtorrent4j/swig/write_torrent_flags_t.java b/src/main/java/org/libtorrent4j/swig/write_torrent_flags_t.java index 30726263..8b313af9 100644 --- a/src/main/java/org/libtorrent4j/swig/write_torrent_flags_t.java +++ b/src/main/java/org/libtorrent4j/swig/write_torrent_flags_t.java @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * Do not make changes to this file unless you know what you are doing--modify + * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ @@ -21,6 +21,18 @@ protected static long getCPtr(write_torrent_flags_t obj) { return (obj == null) ? 0 : obj.swigCPtr; } + protected static long swigRelease(write_torrent_flags_t obj) { + long ptr = 0; + if (obj != null) { + if (!obj.swigCMemOwn) + throw new RuntimeException("Cannot release ownership as memory is not owned"); + ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.delete(); + } + return ptr; + } + @SuppressWarnings("deprecation") protected void finalize() { delete(); diff --git a/swig/libtorrent_jni.cpp b/swig/libtorrent_jni.cpp index cd5b8c62..28595fa3 100644 --- a/swig/libtorrent_jni.cpp +++ b/swig/libtorrent_jni.cpp @@ -1,44 +1,16 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * This file is not intended to be easily readable and contains a number of - * coding conventions designed to improve portability and efficiency. Do not make - * changes to this file unless you know what you are doing--modify the SWIG - * interface file instead. + * Do not make changes to this file unless you know what you are doing - modify + * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ -#ifndef SWIGJAVA +#define SWIG_VERSION 0x040101 #define SWIGJAVA -#endif - #define SWIG_DIRECTORS - -#ifdef __cplusplus -/* SwigValueWrapper is described in swig.swg */ -template class SwigValueWrapper { - struct SwigMovePointer { - T *ptr; - SwigMovePointer(T *p) : ptr(p) { } - ~SwigMovePointer() { delete ptr; } - SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } - } pointer; - SwigValueWrapper& operator=(const SwigValueWrapper& rhs); - SwigValueWrapper(const SwigValueWrapper& rhs); -public: - SwigValueWrapper() : pointer(0) { } - SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } - operator T&() const { return *pointer.ptr; } - T *operator&() { return pointer.ptr; } -}; - -template T SwigValueInit() { - return T(); -} -#endif - /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable * declarations/attributes, and other compiler dependent labels. @@ -164,18 +136,6 @@ template T SwigValueInit() { #endif -/* Fix for jlong on some versions of gcc on Windows */ -#if defined(__GNUC__) && !defined(__INTEL_COMPILER) - typedef long long __int64; -#endif - -/* Fix for jlong on 64-bit x86 Solaris */ -#if defined(__x86_64) -# ifdef _LP64 -# undef _LP64 -# endif -#endif - #include #include #include @@ -230,9 +190,9 @@ static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionC /* Contract support */ -#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else +#define SWIG_contract_assert(nullreturn, expr, msg) do { if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } } while (0) -/* Errors in SWIG */ +/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */ #define SWIG_UnknownError -1 #define SWIG_IOError -2 #define SWIG_RuntimeError -3 @@ -248,7 +208,6 @@ static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionC #define SWIG_NullReferenceError -13 - /* ----------------------------------------------------------------------------- * director_common.swg * @@ -317,6 +276,10 @@ SWIGINTERN int Swig::GetThreadName(char *name, size_t len) { #endif +#if defined(SWIG_JAVA_DETACH_ON_THREAD_END) +#include +#endif + namespace Swig { /* Java object wrapper */ @@ -399,6 +362,19 @@ namespace Swig { } } +#if defined(SWIG_JAVA_DETACH_ON_THREAD_END) + static void detach(void *jvm) { + static_cast(jvm)->DetachCurrentThread(); + } + + static void make_detach_key() { + pthread_key_create(&detach_key_, detach); + } + + /* thread-local key to register a destructor */ + static pthread_key_t detach_key_; +#endif + private: /* pointer to Java object */ jobject jthis_; @@ -406,6 +382,10 @@ namespace Swig { bool weak_global_; }; +#if defined(SWIG_JAVA_DETACH_ON_THREAD_END) + pthread_key_t JObjectWrapper::detach_key_; +#endif + /* Local JNI reference deleter */ class LocalRefGuard { JNIEnv *jenv_; @@ -467,9 +447,19 @@ namespace Swig { #else director_->swig_jvm_->AttachCurrentThread(jenv, &args); #endif + +#if defined(SWIG_JAVA_DETACH_ON_THREAD_END) + // At least on Android 6, detaching after every call causes a memory leak. + // Instead, register a thread desructor and detach only when the thread ends. + // See https://developer.android.com/training/articles/perf-jni#threads + static pthread_once_t once = PTHREAD_ONCE_INIT; + + pthread_once(&once, JObjectWrapper::make_detach_key); + pthread_setspecific(JObjectWrapper::detach_key_, director->swig_jvm_); +#endif } ~JNIEnvWrapper() { -#if !defined(SWIG_JAVA_NO_DETACH_CURRENT_THREAD) +#if !defined(SWIG_JAVA_DETACH_ON_THREAD_END) && !defined(SWIG_JAVA_NO_DETACH_CURRENT_THREAD) // Some JVMs, eg jdk-1.4.2 and lower on Solaris have a bug and crash with the DetachCurrentThread call. // However, without this call, the JVM hangs on exit when the thread was not created by the JVM and creates a memory leak. if (env_status == JNI_EDETACHED) @@ -481,6 +471,15 @@ namespace Swig { } }; + struct SwigDirectorMethod { + const char *name; + const char *desc; + jmethodID methid; + SwigDirectorMethod(JNIEnv *jenv, jclass baseclass, const char *name, const char *desc) : name(name), desc(desc) { + methid = jenv->GetMethodID(baseclass, name, desc); + } + }; + /* Java object wrapper */ JObjectWrapper swig_self_; @@ -504,6 +503,11 @@ namespace Swig { } } + jclass swig_new_global_ref(JNIEnv *jenv, const char *classname) { + jclass clz = jenv->FindClass(classname); + return clz ? (jclass)jenv->NewGlobalRef(clz) : 0; + } + public: Director(JNIEnv *jenv) : swig_jvm_((JavaVM *) NULL), swig_self_() { /* Acquire the Java VM pointer */ @@ -767,6 +771,54 @@ namespace Swig { } } +#ifdef __cplusplus +#include +/* SwigValueWrapper is described in swig.swg */ +template class SwigValueWrapper { + struct SwigSmartPointer { + T *ptr; + SwigSmartPointer(T *p) : ptr(p) { } + ~SwigSmartPointer() { delete ptr; } + SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } + void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; } + } pointer; + SwigValueWrapper& operator=(const SwigValueWrapper& rhs); + SwigValueWrapper(const SwigValueWrapper& rhs); +public: + SwigValueWrapper() : pointer(0) { } + SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; } +#if __cplusplus >=201103L + SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; } + operator T&&() const { return std::move(*pointer.ptr); } +#else + operator T&() const { return *pointer.ptr; } +#endif + T *operator&() const { return pointer.ptr; } + static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); } +}; + +/* + * SwigValueInit() is a generic initialisation solution as the following approach: + * + * T c_result = T(); + * + * doesn't compile for all types for example: + * + * unsigned int c_result = unsigned int(); + */ +template T SwigValueInit() { + return T(); +} + +#if __cplusplus >=201103L +# define SWIG_STD_MOVE(OBJ) std::move(OBJ) +#else +# define SWIG_STD_MOVE(OBJ) OBJ +#endif + +#endif + + // BEGIN common set include ---------------------------------------------------- #include "libtorrent/flags.hpp" @@ -3227,6 +3279,9 @@ SWIGINTERN int libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torr SWIGINTERN libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torrent_flags_tag_Sg__from_int(int val){ return lt::flags::bitfield_flag(static_cast(val)); } + +#include + SWIGINTERN libtorrent::torrent_info const *libtorrent_add_torrent_params_ti_ptr(libtorrent::add_torrent_params *self){ return self->ti.get(); } @@ -4341,34 +4396,19 @@ void SwigDirector_alert_notify_callback::on_alert() { } void SwigDirector_alert_notify_callback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) { - static struct { - const char *mname; - const char *mdesc; - jmethodID base_methid; - } methods[] = { - { - "on_alert", "()V", NULL - } + static jclass baseclass = swig_new_global_ref(jenv, "org/libtorrent4j/swig/alert_notify_callback"); + if (!baseclass) return; + static SwigDirectorMethod methods[] = { + SwigDirectorMethod(jenv, baseclass, "on_alert", "()V") }; - static jclass baseclass = 0 ; - if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) { - if (!baseclass) { - baseclass = jenv->FindClass("org/libtorrent4j/swig/alert_notify_callback"); - if (!baseclass) return; - baseclass = (jclass) jenv->NewGlobalRef(baseclass); - } bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true); for (int i = 0; i < 1; ++i) { - if (!methods[i].base_methid) { - methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc); - if (!methods[i].base_methid) return; - } swig_override[i] = false; if (derived) { - jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc); - swig_override[i] = (methid != methods[i].base_methid); + jmethodID methid = jenv->GetMethodID(jcls, methods[i].name, methods[i].desc); + swig_override[i] = methods[i].methid && (methid != methods[i].methid); jenv->ExceptionClear(); } } @@ -4414,34 +4454,19 @@ bool SwigDirector_list_files_listener::pred(std::string p) { } void SwigDirector_list_files_listener::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) { - static struct { - const char *mname; - const char *mdesc; - jmethodID base_methid; - } methods[] = { - { - "pred", "(Ljava/lang/String;)Z", NULL - } + static jclass baseclass = swig_new_global_ref(jenv, "org/libtorrent4j/swig/list_files_listener"); + if (!baseclass) return; + static SwigDirectorMethod methods[] = { + SwigDirectorMethod(jenv, baseclass, "pred", "(Ljava/lang/String;)Z") }; - static jclass baseclass = 0 ; - if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) { - if (!baseclass) { - baseclass = jenv->FindClass("org/libtorrent4j/swig/list_files_listener"); - if (!baseclass) return; - baseclass = (jclass) jenv->NewGlobalRef(baseclass); - } bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true); for (int i = 0; i < 1; ++i) { - if (!methods[i].base_methid) { - methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc); - if (!methods[i].base_methid) return; - } swig_override[i] = false; if (derived) { - jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc); - swig_override[i] = (methid != methods[i].base_methid); + jmethodID methid = jenv->GetMethodID(jcls, methods[i].name, methods[i].desc); + swig_override[i] = methods[i].methid && (methid != methods[i].methid); jenv->ExceptionClear(); } } @@ -4483,34 +4508,19 @@ void SwigDirector_set_piece_hashes_listener::progress(int i) { } void SwigDirector_set_piece_hashes_listener::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) { - static struct { - const char *mname; - const char *mdesc; - jmethodID base_methid; - } methods[] = { - { - "progress", "(I)V", NULL - } + static jclass baseclass = swig_new_global_ref(jenv, "org/libtorrent4j/swig/set_piece_hashes_listener"); + if (!baseclass) return; + static SwigDirectorMethod methods[] = { + SwigDirectorMethod(jenv, baseclass, "progress", "(I)V") }; - static jclass baseclass = 0 ; - if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) { - if (!baseclass) { - baseclass = jenv->FindClass("org/libtorrent4j/swig/set_piece_hashes_listener"); - if (!baseclass) return; - baseclass = (jclass) jenv->NewGlobalRef(baseclass); - } bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true); for (int i = 0; i < 1; ++i) { - if (!methods[i].base_methid) { - methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc); - if (!methods[i].base_methid) return; - } swig_override[i] = false; if (derived) { - jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc); - swig_override[i] = (methid != methods[i].base_methid); + jmethodID methid = jenv->GetMethodID(jcls, methods[i].name, methods[i].desc); + swig_override[i] = methods[i].methid && (methid != methods[i].methid); jenv->ExceptionClear(); } } @@ -4581,7 +4591,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1int_1by (void)jarg1_; arg1 = *(std::pair< int,std::int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< int,std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< int,std::int8_t > const & is null"); return 0; } { @@ -4741,7 +4751,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1string_ (void)jarg1_; arg1 = *(std::pair< std::string,int > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,int > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,int > const & is null"); return 0; } { @@ -4916,7 +4926,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1string_ (void)jarg1_; arg1 = *(std::pair< std::string,std::string > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,std::string > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,std::string > const & is null"); return 0; } { @@ -5099,7 +5109,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1byte_1v (void)jarg1_; arg1 = *(std::pair< std::vector< std::int8_t >,std::vector< std::int8_t > > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::vector< std::int8_t >,std::vector< std::int8_t > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::vector< std::int8_t >,std::vector< std::int8_t > > const & is null"); return 0; } { @@ -5268,7 +5278,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha1_1h (void)jarg1_; arg1 = *(std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > const & is null"); return 0; } { @@ -5437,7 +5447,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1bdecode (void)jarg1_; arg1 = *(std::pair< libtorrent::bdecode_node,libtorrent::bdecode_node > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< libtorrent::bdecode_node,libtorrent::bdecode_node > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< libtorrent::bdecode_node,libtorrent::bdecode_node > const & is null"); return 0; } { @@ -5606,7 +5616,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1address (void)jarg1_; arg1 = *(std::pair< libtorrent::address,libtorrent::digest32< 160 > > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< libtorrent::address,libtorrent::digest32< 160 > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< libtorrent::address,libtorrent::digest32< 160 > > const & is null"); return 0; } { @@ -5735,7 +5745,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1string_ (void)jarg1_; arg1 = *(std::vector< std::string > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::string > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::string > const & is null"); return 0; } { @@ -5874,7 +5884,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1string_ { try { try { - result = (std::vector< std::string > *)new_std_vector_Sl_std_string_Sg___SWIG_2(arg1,(std::string const &)*arg2); + result = (std::vector< std::string > *)new_std_vector_Sl_std_string_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(std::string const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -5975,7 +5985,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1vecto { try { try { - std_vector_Sl_std_string_Sg__doAdd__SWIG_1(arg1,arg2,(std::string const &)*arg3); + std_vector_Sl_std_string_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -6005,7 +6015,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1ve { try { try { - result = std_vector_Sl_std_string_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_std_string_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -6037,7 +6047,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1ve { try { try { - result = (std::vector< std::string >::value_type *) &std_vector_Sl_std_string_Sg__doGet(arg1,arg2); + result = (std::vector< std::string >::value_type *) &std_vector_Sl_std_string_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -6079,7 +6089,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1ve { try { try { - result = std_vector_Sl_std_string_Sg__doSet(arg1,arg2,(std::string const &)*arg3); + result = std_vector_Sl_std_string_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -6111,7 +6121,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1vecto { try { try { - std_vector_Sl_std_string_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_std_string_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -6179,7 +6189,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1int_1ve (void)jarg1_; arg1 = *(std::vector< int > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int > const & is null"); return 0; } { @@ -6312,7 +6322,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1int_1ve { try { try { - result = (std::vector< int > *)new_std_vector_Sl_int_Sg___SWIG_2(arg1,(int const &)*arg2); + result = (std::vector< int > *)new_std_vector_Sl_int_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(int const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -6401,7 +6411,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1vector_1 { try { try { - std_vector_Sl_int_Sg__doAdd__SWIG_1(arg1,arg2,(int const &)*arg3); + std_vector_Sl_int_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -6431,7 +6441,7 @@ SWIGEXPORT jint JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1vector_1 { try { try { - result = (std::vector< int >::value_type)std_vector_Sl_int_Sg__doRemove(arg1,arg2); + result = (std::vector< int >::value_type)std_vector_Sl_int_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -6463,7 +6473,7 @@ SWIGEXPORT jint JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1vector_1 { try { try { - result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg__doGet(arg1,arg2); + result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -6499,7 +6509,7 @@ SWIGEXPORT jint JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1vector_1 { try { try { - result = (std::vector< int >::value_type)std_vector_Sl_int_Sg__doSet(arg1,arg2,(int const &)*arg3); + result = (std::vector< int >::value_type)std_vector_Sl_int_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -6531,7 +6541,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1vector_1 { try { try { - std_vector_Sl_int_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_int_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -6599,7 +6609,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1int64_1 (void)jarg1_; arg1 = *(std::vector< long long > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< long long > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< long long > const & is null"); return 0; } { @@ -6732,7 +6742,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1int64_1 { try { try { - result = (std::vector< long long > *)new_std_vector_Sl_long_SS_long_Sg___SWIG_2(arg1,(long long const &)*arg2); + result = (std::vector< long long > *)new_std_vector_Sl_long_SS_long_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(long long const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -6821,7 +6831,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int64_1vector { try { try { - std_vector_Sl_long_SS_long_Sg__doAdd__SWIG_1(arg1,arg2,(long long const &)*arg3); + std_vector_Sl_long_SS_long_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(long long const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -6851,7 +6861,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int64_1vecto { try { try { - result = (std::vector< long long >::value_type)std_vector_Sl_long_SS_long_Sg__doRemove(arg1,arg2); + result = (std::vector< long long >::value_type)std_vector_Sl_long_SS_long_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -6883,7 +6893,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int64_1vecto { try { try { - result = (std::vector< long long >::value_type *) &std_vector_Sl_long_SS_long_Sg__doGet(arg1,arg2); + result = (std::vector< long long >::value_type *) &std_vector_Sl_long_SS_long_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -6919,7 +6929,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int64_1vecto { try { try { - result = (std::vector< long long >::value_type)std_vector_Sl_long_SS_long_Sg__doSet(arg1,arg2,(long long const &)*arg3); + result = (std::vector< long long >::value_type)std_vector_Sl_long_SS_long_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(long long const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -6951,7 +6961,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int64_1vector { try { try { - std_vector_Sl_long_SS_long_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_long_SS_long_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -7019,7 +7029,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1byte_1v (void)jarg1_; arg1 = *(std::vector< std::int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return 0; } { @@ -7152,7 +7162,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1byte_1v { try { try { - result = (std::vector< std::int8_t > *)new_std_vector_Sl_std_int8_t_Sg___SWIG_2(arg1,(signed char const &)*arg2); + result = (std::vector< std::int8_t > *)new_std_vector_Sl_std_int8_t_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(signed char const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -7241,7 +7251,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_byte_1vector_ { try { try { - std_vector_Sl_std_int8_t_Sg__doAdd__SWIG_1(arg1,arg2,(signed char const &)*arg3); + std_vector_Sl_std_int8_t_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(signed char const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -7271,7 +7281,7 @@ SWIGEXPORT jbyte JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_byte_1vector { try { try { - result = (std::vector< signed char >::value_type)std_vector_Sl_std_int8_t_Sg__doRemove(arg1,arg2); + result = (std::vector< signed char >::value_type)std_vector_Sl_std_int8_t_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -7303,7 +7313,7 @@ SWIGEXPORT jbyte JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_byte_1vector { try { try { - result = (std::vector< signed char >::value_type *) &std_vector_Sl_std_int8_t_Sg__doGet(arg1,arg2); + result = (std::vector< signed char >::value_type *) &std_vector_Sl_std_int8_t_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -7339,7 +7349,7 @@ SWIGEXPORT jbyte JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_byte_1vector { try { try { - result = (std::vector< signed char >::value_type)std_vector_Sl_std_int8_t_Sg__doSet(arg1,arg2,(signed char const &)*arg3); + result = (std::vector< signed char >::value_type)std_vector_Sl_std_int8_t_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(signed char const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -7371,7 +7381,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_byte_1vector_ { try { try { - std_vector_Sl_std_int8_t_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_std_int8_t_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -7439,7 +7449,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1bool_1v (void)jarg1_; arg1 = *(std::vector< bool > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< bool > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< bool > const & is null"); return 0; } { @@ -7572,7 +7582,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1bool_1v { try { try { - result = (std::vector< bool > *)new_std_vector_Sl_bool_Sg___SWIG_2(arg1,(bool const &)*arg2); + result = (std::vector< bool > *)new_std_vector_Sl_bool_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(bool const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -7661,7 +7671,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vector_ { try { try { - std_vector_Sl_bool_Sg__doAdd__SWIG_1(arg1,arg2,(bool const &)*arg3); + std_vector_Sl_bool_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(bool const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -7691,7 +7701,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vec { try { try { - result = (std::vector< bool >::value_type)std_vector_Sl_bool_Sg__doRemove(arg1,arg2); + result = (std::vector< bool >::value_type)std_vector_Sl_bool_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -7723,7 +7733,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vec { try { try { - result = (bool)std_vector_Sl_bool_Sg__doGet(arg1,arg2); + result = (bool)std_vector_Sl_bool_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -7759,7 +7769,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vec { try { try { - result = (std::vector< bool >::value_type)std_vector_Sl_bool_Sg__doSet(arg1,arg2,(bool const &)*arg3); + result = (std::vector< bool >::value_type)std_vector_Sl_bool_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(bool const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -7791,7 +7801,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vector_ { try { try { - std_vector_Sl_bool_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_bool_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -7859,7 +7869,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1int_1by (void)jarg1_; arg1 = *(std::vector< std::pair< int,std::int8_t > > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< int,std::int8_t > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< int,std::int8_t > > const & is null"); return 0; } { @@ -7989,13 +7999,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1int_1by arg1 = jarg1; arg2 = *(std::pair< int,std::int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< int,std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< int,std::int8_t > const & is null"); return 0; } { try { try { - result = (std::vector< std::pair< int,std::int8_t > > *)new_std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg___SWIG_2(arg1,(std::pair< int,signed char > const &)*arg2); + result = (std::vector< std::pair< int,std::int8_t > > *)new_std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg___SWIG_2(SWIG_STD_MOVE(arg1),(std::pair< int,signed char > const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -8054,7 +8064,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1byte_1pa arg1 = *(std::vector< std::pair< int,std::int8_t > > **)&jarg1; arg2 = *(std::vector< std::pair< int,signed char > >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< int,signed char > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< int,signed char > >::value_type const & is null"); return ; } { @@ -8084,13 +8094,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1byte_1pa arg2 = jarg2; arg3 = *(std::vector< std::pair< int,signed char > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< int,signed char > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< int,signed char > >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg__doAdd__SWIG_1(arg1,arg2,(std::pair< int,signed char > const &)*arg3); + std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(std::pair< int,signed char > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -8120,7 +8130,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1byte_1p { try { try { - result = std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg__doRemove(arg1,arg2); + result = std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -8133,7 +8143,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1byte_1p return 0; } } - *(std::vector< std::pair< int,signed char > >::value_type **)&jresult = new std::vector< std::pair< int,signed char > >::value_type((const std::vector< std::pair< int,signed char > >::value_type &)result); + *(std::vector< std::pair< int,signed char > >::value_type **)&jresult = new std::vector< std::pair< int,signed char > >::value_type(result); return jresult; } @@ -8152,7 +8162,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1byte_1p { try { try { - result = (std::vector< std::pair< int,signed char > >::value_type *) &std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg__doGet(arg1,arg2); + result = (std::vector< std::pair< int,signed char > >::value_type *) &std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -8185,13 +8195,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1byte_1p arg2 = jarg2; arg3 = *(std::vector< std::pair< int,signed char > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< int,signed char > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< int,signed char > >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg__doSet(arg1,arg2,(std::pair< int,signed char > const &)*arg3); + result = std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(std::pair< int,signed char > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -8204,7 +8214,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1byte_1p return 0; } } - *(std::vector< std::pair< int,signed char > >::value_type **)&jresult = new std::vector< std::pair< int,signed char > >::value_type((const std::vector< std::pair< int,signed char > >::value_type &)result); + *(std::vector< std::pair< int,signed char > >::value_type **)&jresult = new std::vector< std::pair< int,signed char > >::value_type(result); return jresult; } @@ -8223,7 +8233,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1byte_1pa { try { try { - std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_std_pair_Sl_int_Sc_std_int8_t_Sg__Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -8291,7 +8301,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1string_ (void)jarg1_; arg1 = *(std::vector< std::pair< std::string,int > > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,int > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,int > > const & is null"); return 0; } { @@ -8421,13 +8431,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1string_ arg1 = jarg1; arg2 = *(std::pair< std::string,int > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,int > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,int > const & is null"); return 0; } { try { try { - result = (std::vector< std::pair< std::string,int > > *)new_std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg___SWIG_2(arg1,(std::pair< std::string,int > const &)*arg2); + result = (std::vector< std::pair< std::string,int > > *)new_std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg___SWIG_2(SWIG_STD_MOVE(arg1),(std::pair< std::string,int > const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -8486,7 +8496,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1int_1 arg1 = *(std::vector< std::pair< std::string,int > > **)&jarg1; arg2 = *(std::vector< std::pair< std::string,int > >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,int > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,int > >::value_type const & is null"); return ; } { @@ -8516,13 +8526,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1int_1 arg2 = jarg2; arg3 = *(std::vector< std::pair< std::string,int > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,int > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,int > >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg__doAdd__SWIG_1(arg1,arg2,(std::pair< std::string,int > const &)*arg3); + std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(std::pair< std::string,int > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -8552,7 +8562,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1int_ { try { try { - result = std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg__doRemove(arg1,arg2); + result = std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -8565,7 +8575,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1int_ return 0; } } - *(std::vector< std::pair< std::string,int > >::value_type **)&jresult = new std::vector< std::pair< std::string,int > >::value_type((const std::vector< std::pair< std::string,int > >::value_type &)result); + *(std::vector< std::pair< std::string,int > >::value_type **)&jresult = new std::vector< std::pair< std::string,int > >::value_type(result); return jresult; } @@ -8584,7 +8594,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1int_ { try { try { - result = (std::vector< std::pair< std::string,int > >::value_type *) &std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg__doGet(arg1,arg2); + result = (std::vector< std::pair< std::string,int > >::value_type *) &std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -8617,13 +8627,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1int_ arg2 = jarg2; arg3 = *(std::vector< std::pair< std::string,int > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,int > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,int > >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg__doSet(arg1,arg2,(std::pair< std::string,int > const &)*arg3); + result = std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(std::pair< std::string,int > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -8636,7 +8646,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1int_ return 0; } } - *(std::vector< std::pair< std::string,int > >::value_type **)&jresult = new std::vector< std::pair< std::string,int > >::value_type((const std::vector< std::pair< std::string,int > >::value_type &)result); + *(std::vector< std::pair< std::string,int > >::value_type **)&jresult = new std::vector< std::pair< std::string,int > >::value_type(result); return jresult; } @@ -8655,7 +8665,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1int_1 { try { try { - std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_std_pair_Sl_std_string_Sc_int_Sg__Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -8723,7 +8733,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1string_ (void)jarg1_; arg1 = *(std::vector< std::pair< std::string,std::string > > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,std::string > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,std::string > > const & is null"); return 0; } { @@ -8853,13 +8863,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1string_ arg1 = jarg1; arg2 = *(std::pair< std::string,std::string > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,std::string > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,std::string > const & is null"); return 0; } { try { try { - result = (std::vector< std::pair< std::string,std::string > > *)new_std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg___SWIG_2(arg1,(std::pair< std::string,std::string > const &)*arg2); + result = (std::vector< std::pair< std::string,std::string > > *)new_std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg___SWIG_2(SWIG_STD_MOVE(arg1),(std::pair< std::string,std::string > const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -8918,7 +8928,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1strin arg1 = *(std::vector< std::pair< std::string,std::string > > **)&jarg1; arg2 = *(std::vector< std::pair< std::string,std::string > >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,std::string > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,std::string > >::value_type const & is null"); return ; } { @@ -8948,13 +8958,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1strin arg2 = jarg2; arg3 = *(std::vector< std::pair< std::string,std::string > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,std::string > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,std::string > >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg__doAdd__SWIG_1(arg1,arg2,(std::pair< std::string,std::string > const &)*arg3); + std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(std::pair< std::string,std::string > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -8984,7 +8994,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1stri { try { try { - result = std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg__doRemove(arg1,arg2); + result = std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -8997,7 +9007,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1stri return 0; } } - *(std::vector< std::pair< std::string,std::string > >::value_type **)&jresult = new std::vector< std::pair< std::string,std::string > >::value_type((const std::vector< std::pair< std::string,std::string > >::value_type &)result); + *(std::vector< std::pair< std::string,std::string > >::value_type **)&jresult = new std::vector< std::pair< std::string,std::string > >::value_type(result); return jresult; } @@ -9016,7 +9026,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1stri { try { try { - result = (std::vector< std::pair< std::string,std::string > >::value_type *) &std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg__doGet(arg1,arg2); + result = (std::vector< std::pair< std::string,std::string > >::value_type *) &std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -9049,13 +9059,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1stri arg2 = jarg2; arg3 = *(std::vector< std::pair< std::string,std::string > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,std::string > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< std::string,std::string > >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg__doSet(arg1,arg2,(std::pair< std::string,std::string > const &)*arg3); + result = std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(std::pair< std::string,std::string > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -9068,7 +9078,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1stri return 0; } } - *(std::vector< std::pair< std::string,std::string > >::value_type **)&jresult = new std::vector< std::pair< std::string,std::string > >::value_type((const std::vector< std::pair< std::string,std::string > >::value_type &)result); + *(std::vector< std::pair< std::string,std::string > >::value_type **)&jresult = new std::vector< std::pair< std::string,std::string > >::value_type(result); return jresult; } @@ -9087,7 +9097,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1strin { try { try { - std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_std_pair_Sl_std_string_Sc_std_string_Sg__Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -9155,7 +9165,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1tcp_1en (void)jarg1_; arg1 = *(std::vector< libtorrent::tcp::endpoint > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::tcp::endpoint > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::tcp::endpoint > const & is null"); return 0; } { @@ -9285,13 +9295,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1tcp_1en arg1 = jarg1; arg2 = *(libtorrent::tcp::endpoint **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::tcp::endpoint > *)new_std_vector_Sl_libtorrent_tcp_endpoint_Sg___SWIG_2(arg1,(libtorrent::tcp::endpoint const &)*arg2); + result = (std::vector< libtorrent::tcp::endpoint > *)new_std_vector_Sl_libtorrent_tcp_endpoint_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::tcp::endpoint const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -9350,7 +9360,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tcp_1endpoint arg1 = *(std::vector< libtorrent::tcp::endpoint > **)&jarg1; arg2 = *(std::vector< libtorrent::tcp::endpoint >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::tcp::endpoint >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::tcp::endpoint >::value_type const & is null"); return ; } { @@ -9380,13 +9390,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tcp_1endpoint arg2 = jarg2; arg3 = *(std::vector< libtorrent::tcp::endpoint >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::tcp::endpoint >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::tcp::endpoint >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_tcp_endpoint_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::tcp::endpoint const &)*arg3); + std_vector_Sl_libtorrent_tcp_endpoint_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::tcp::endpoint const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -9416,7 +9426,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tcp_1endpoin { try { try { - result = std_vector_Sl_libtorrent_tcp_endpoint_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_tcp_endpoint_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -9429,7 +9439,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tcp_1endpoin return 0; } } - *(std::vector< libtorrent::tcp::endpoint >::value_type **)&jresult = new std::vector< libtorrent::tcp::endpoint >::value_type((const std::vector< libtorrent::tcp::endpoint >::value_type &)result); + *(std::vector< libtorrent::tcp::endpoint >::value_type **)&jresult = new std::vector< libtorrent::tcp::endpoint >::value_type(result); return jresult; } @@ -9448,7 +9458,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tcp_1endpoin { try { try { - result = (std::vector< libtorrent::tcp::endpoint >::value_type *) &std_vector_Sl_libtorrent_tcp_endpoint_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::tcp::endpoint >::value_type *) &std_vector_Sl_libtorrent_tcp_endpoint_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -9481,13 +9491,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tcp_1endpoin arg2 = jarg2; arg3 = *(std::vector< libtorrent::tcp::endpoint >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::tcp::endpoint >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::tcp::endpoint >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_tcp_endpoint_Sg__doSet(arg1,arg2,(libtorrent::tcp::endpoint const &)*arg3); + result = std_vector_Sl_libtorrent_tcp_endpoint_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::tcp::endpoint const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -9500,7 +9510,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tcp_1endpoin return 0; } } - *(std::vector< libtorrent::tcp::endpoint >::value_type **)&jresult = new std::vector< libtorrent::tcp::endpoint >::value_type((const std::vector< libtorrent::tcp::endpoint >::value_type &)result); + *(std::vector< libtorrent::tcp::endpoint >::value_type **)&jresult = new std::vector< libtorrent::tcp::endpoint >::value_type(result); return jresult; } @@ -9519,7 +9529,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tcp_1endpoint { try { try { - std_vector_Sl_libtorrent_tcp_endpoint_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_tcp_endpoint_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -9587,7 +9597,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1udp_1en (void)jarg1_; arg1 = *(std::vector< libtorrent::udp::endpoint > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::udp::endpoint > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::udp::endpoint > const & is null"); return 0; } { @@ -9717,13 +9727,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1udp_1en arg1 = jarg1; arg2 = *(libtorrent::udp::endpoint **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::udp::endpoint > *)new_std_vector_Sl_libtorrent_udp_endpoint_Sg___SWIG_2(arg1,(libtorrent::udp::endpoint const &)*arg2); + result = (std::vector< libtorrent::udp::endpoint > *)new_std_vector_Sl_libtorrent_udp_endpoint_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::udp::endpoint const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -9782,7 +9792,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_udp_1endpoint arg1 = *(std::vector< libtorrent::udp::endpoint > **)&jarg1; arg2 = *(std::vector< libtorrent::udp::endpoint >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::udp::endpoint >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::udp::endpoint >::value_type const & is null"); return ; } { @@ -9812,13 +9822,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_udp_1endpoint arg2 = jarg2; arg3 = *(std::vector< libtorrent::udp::endpoint >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::udp::endpoint >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::udp::endpoint >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_udp_endpoint_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::udp::endpoint const &)*arg3); + std_vector_Sl_libtorrent_udp_endpoint_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::udp::endpoint const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -9848,7 +9858,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_udp_1endpoin { try { try { - result = std_vector_Sl_libtorrent_udp_endpoint_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_udp_endpoint_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -9861,7 +9871,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_udp_1endpoin return 0; } } - *(std::vector< libtorrent::udp::endpoint >::value_type **)&jresult = new std::vector< libtorrent::udp::endpoint >::value_type((const std::vector< libtorrent::udp::endpoint >::value_type &)result); + *(std::vector< libtorrent::udp::endpoint >::value_type **)&jresult = new std::vector< libtorrent::udp::endpoint >::value_type(result); return jresult; } @@ -9880,7 +9890,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_udp_1endpoin { try { try { - result = (std::vector< libtorrent::udp::endpoint >::value_type *) &std_vector_Sl_libtorrent_udp_endpoint_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::udp::endpoint >::value_type *) &std_vector_Sl_libtorrent_udp_endpoint_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -9913,13 +9923,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_udp_1endpoin arg2 = jarg2; arg3 = *(std::vector< libtorrent::udp::endpoint >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::udp::endpoint >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::udp::endpoint >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_udp_endpoint_Sg__doSet(arg1,arg2,(libtorrent::udp::endpoint const &)*arg3); + result = std_vector_Sl_libtorrent_udp_endpoint_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::udp::endpoint const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -9932,7 +9942,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_udp_1endpoin return 0; } } - *(std::vector< libtorrent::udp::endpoint >::value_type **)&jresult = new std::vector< libtorrent::udp::endpoint >::value_type((const std::vector< libtorrent::udp::endpoint >::value_type &)result); + *(std::vector< libtorrent::udp::endpoint >::value_type **)&jresult = new std::vector< libtorrent::udp::endpoint >::value_type(result); return jresult; } @@ -9951,7 +9961,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_udp_1endpoint { try { try { - std_vector_Sl_libtorrent_udp_endpoint_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_udp_endpoint_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -10019,7 +10029,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1announc (void)jarg1_; arg1 = *(std::vector< libtorrent::announce_endpoint > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_endpoint > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_endpoint > const & is null"); return 0; } { @@ -10149,13 +10159,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1announc arg1 = jarg1; arg2 = *(libtorrent::announce_endpoint **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::announce_endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::announce_endpoint const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::announce_endpoint > *)new_std_vector_Sl_libtorrent_announce_endpoint_Sg___SWIG_2(arg1,(libtorrent::announce_endpoint const &)*arg2); + result = (std::vector< libtorrent::announce_endpoint > *)new_std_vector_Sl_libtorrent_announce_endpoint_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::announce_endpoint const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -10214,7 +10224,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1end arg1 = *(std::vector< libtorrent::announce_endpoint > **)&jarg1; arg2 = *(std::vector< libtorrent::announce_endpoint >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_endpoint >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_endpoint >::value_type const & is null"); return ; } { @@ -10244,13 +10254,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1end arg2 = jarg2; arg3 = *(std::vector< libtorrent::announce_endpoint >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_endpoint >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_endpoint >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_announce_endpoint_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::announce_endpoint const &)*arg3); + std_vector_Sl_libtorrent_announce_endpoint_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::announce_endpoint const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -10280,7 +10290,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en { try { try { - result = std_vector_Sl_libtorrent_announce_endpoint_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_announce_endpoint_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -10293,7 +10303,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en return 0; } } - *(std::vector< libtorrent::announce_endpoint >::value_type **)&jresult = new std::vector< libtorrent::announce_endpoint >::value_type((const std::vector< libtorrent::announce_endpoint >::value_type &)result); + *(std::vector< libtorrent::announce_endpoint >::value_type **)&jresult = new std::vector< libtorrent::announce_endpoint >::value_type(result); return jresult; } @@ -10312,7 +10322,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en { try { try { - result = (std::vector< libtorrent::announce_endpoint >::value_type *) &std_vector_Sl_libtorrent_announce_endpoint_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::announce_endpoint >::value_type *) &std_vector_Sl_libtorrent_announce_endpoint_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -10345,13 +10355,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en arg2 = jarg2; arg3 = *(std::vector< libtorrent::announce_endpoint >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_endpoint >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_endpoint >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_announce_endpoint_Sg__doSet(arg1,arg2,(libtorrent::announce_endpoint const &)*arg3); + result = std_vector_Sl_libtorrent_announce_endpoint_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::announce_endpoint const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -10364,7 +10374,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en return 0; } } - *(std::vector< libtorrent::announce_endpoint >::value_type **)&jresult = new std::vector< libtorrent::announce_endpoint >::value_type((const std::vector< libtorrent::announce_endpoint >::value_type &)result); + *(std::vector< libtorrent::announce_endpoint >::value_type **)&jresult = new std::vector< libtorrent::announce_endpoint >::value_type(result); return jresult; } @@ -10383,7 +10393,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1end { try { try { - std_vector_Sl_libtorrent_announce_endpoint_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_announce_endpoint_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -10451,7 +10461,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1announc (void)jarg1_; arg1 = *(std::vector< libtorrent::announce_entry > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_entry > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_entry > const & is null"); return 0; } { @@ -10581,13 +10591,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1announc arg1 = jarg1; arg2 = *(libtorrent::announce_entry **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::announce_entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::announce_entry const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::announce_entry > *)new_std_vector_Sl_libtorrent_announce_entry_Sg___SWIG_2(arg1,(libtorrent::announce_entry const &)*arg2); + result = (std::vector< libtorrent::announce_entry > *)new_std_vector_Sl_libtorrent_announce_entry_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::announce_entry const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -10646,7 +10656,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1ent arg1 = *(std::vector< libtorrent::announce_entry > **)&jarg1; arg2 = *(std::vector< libtorrent::announce_entry >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_entry >::value_type const & is null"); return ; } { @@ -10676,13 +10686,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1ent arg2 = jarg2; arg3 = *(std::vector< libtorrent::announce_entry >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_entry >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_announce_entry_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::announce_entry const &)*arg3); + std_vector_Sl_libtorrent_announce_entry_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::announce_entry const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -10712,7 +10722,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en { try { try { - result = std_vector_Sl_libtorrent_announce_entry_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_announce_entry_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -10725,7 +10735,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en return 0; } } - *(std::vector< libtorrent::announce_entry >::value_type **)&jresult = new std::vector< libtorrent::announce_entry >::value_type((const std::vector< libtorrent::announce_entry >::value_type &)result); + *(std::vector< libtorrent::announce_entry >::value_type **)&jresult = new std::vector< libtorrent::announce_entry >::value_type(result); return jresult; } @@ -10744,7 +10754,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en { try { try { - result = (std::vector< libtorrent::announce_entry >::value_type *) &std_vector_Sl_libtorrent_announce_entry_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::announce_entry >::value_type *) &std_vector_Sl_libtorrent_announce_entry_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -10777,13 +10787,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en arg2 = jarg2; arg3 = *(std::vector< libtorrent::announce_entry >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_entry >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_announce_entry_Sg__doSet(arg1,arg2,(libtorrent::announce_entry const &)*arg3); + result = std_vector_Sl_libtorrent_announce_entry_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::announce_entry const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -10796,7 +10806,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en return 0; } } - *(std::vector< libtorrent::announce_entry >::value_type **)&jresult = new std::vector< libtorrent::announce_entry >::value_type((const std::vector< libtorrent::announce_entry >::value_type &)result); + *(std::vector< libtorrent::announce_entry >::value_type **)&jresult = new std::vector< libtorrent::announce_entry >::value_type(result); return jresult; } @@ -10815,7 +10825,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1ent { try { try { - std_vector_Sl_libtorrent_announce_entry_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_announce_entry_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -10883,7 +10893,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1web_1se (void)jarg1_; arg1 = *(std::vector< libtorrent::web_seed_entry > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::web_seed_entry > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::web_seed_entry > const & is null"); return 0; } { @@ -11013,13 +11023,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1web_1se arg1 = jarg1; arg2 = *(libtorrent::web_seed_entry **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::web_seed_entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::web_seed_entry const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::web_seed_entry > *)new_std_vector_Sl_libtorrent_web_seed_entry_Sg___SWIG_2(arg1,(libtorrent::web_seed_entry const &)*arg2); + result = (std::vector< libtorrent::web_seed_entry > *)new_std_vector_Sl_libtorrent_web_seed_entry_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::web_seed_entry const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -11078,7 +11088,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_web_1seed_1en arg1 = *(std::vector< libtorrent::web_seed_entry > **)&jarg1; arg2 = *(std::vector< libtorrent::web_seed_entry >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::web_seed_entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::web_seed_entry >::value_type const & is null"); return ; } { @@ -11108,13 +11118,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_web_1seed_1en arg2 = jarg2; arg3 = *(std::vector< libtorrent::web_seed_entry >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::web_seed_entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::web_seed_entry >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_web_seed_entry_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::web_seed_entry const &)*arg3); + std_vector_Sl_libtorrent_web_seed_entry_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::web_seed_entry const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -11144,7 +11154,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_web_1seed_1e { try { try { - result = std_vector_Sl_libtorrent_web_seed_entry_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_web_seed_entry_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -11157,7 +11167,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_web_1seed_1e return 0; } } - *(std::vector< libtorrent::web_seed_entry >::value_type **)&jresult = new std::vector< libtorrent::web_seed_entry >::value_type((const std::vector< libtorrent::web_seed_entry >::value_type &)result); + *(std::vector< libtorrent::web_seed_entry >::value_type **)&jresult = new std::vector< libtorrent::web_seed_entry >::value_type(result); return jresult; } @@ -11176,7 +11186,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_web_1seed_1e { try { try { - result = (std::vector< libtorrent::web_seed_entry >::value_type *) &std_vector_Sl_libtorrent_web_seed_entry_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::web_seed_entry >::value_type *) &std_vector_Sl_libtorrent_web_seed_entry_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -11209,13 +11219,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_web_1seed_1e arg2 = jarg2; arg3 = *(std::vector< libtorrent::web_seed_entry >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::web_seed_entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::web_seed_entry >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_web_seed_entry_Sg__doSet(arg1,arg2,(libtorrent::web_seed_entry const &)*arg3); + result = std_vector_Sl_libtorrent_web_seed_entry_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::web_seed_entry const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -11228,7 +11238,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_web_1seed_1e return 0; } } - *(std::vector< libtorrent::web_seed_entry >::value_type **)&jresult = new std::vector< libtorrent::web_seed_entry >::value_type((const std::vector< libtorrent::web_seed_entry >::value_type &)result); + *(std::vector< libtorrent::web_seed_entry >::value_type **)&jresult = new std::vector< libtorrent::web_seed_entry >::value_type(result); return jresult; } @@ -11247,7 +11257,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_web_1seed_1en { try { try { - std_vector_Sl_libtorrent_web_seed_entry_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_web_seed_entry_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -11315,7 +11325,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1file_1s (void)jarg1_; arg1 = *(std::vector< libtorrent::file_slice > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::file_slice > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::file_slice > const & is null"); return 0; } { @@ -11445,13 +11455,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1file_1s arg1 = jarg1; arg2 = *(libtorrent::file_slice **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::file_slice const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::file_slice const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::file_slice > *)new_std_vector_Sl_libtorrent_file_slice_Sg___SWIG_2(arg1,(libtorrent::file_slice const &)*arg2); + result = (std::vector< libtorrent::file_slice > *)new_std_vector_Sl_libtorrent_file_slice_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::file_slice const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -11510,7 +11520,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1slice_1 arg1 = *(std::vector< libtorrent::file_slice > **)&jarg1; arg2 = *(std::vector< libtorrent::file_slice >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::file_slice >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::file_slice >::value_type const & is null"); return ; } { @@ -11540,13 +11550,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1slice_1 arg2 = jarg2; arg3 = *(std::vector< libtorrent::file_slice >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::file_slice >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::file_slice >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_file_slice_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::file_slice const &)*arg3); + std_vector_Sl_libtorrent_file_slice_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::file_slice const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -11576,7 +11586,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1slice_ { try { try { - result = std_vector_Sl_libtorrent_file_slice_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_file_slice_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -11589,7 +11599,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1slice_ return 0; } } - *(std::vector< libtorrent::file_slice >::value_type **)&jresult = new std::vector< libtorrent::file_slice >::value_type((const std::vector< libtorrent::file_slice >::value_type &)result); + *(std::vector< libtorrent::file_slice >::value_type **)&jresult = new std::vector< libtorrent::file_slice >::value_type(result); return jresult; } @@ -11608,7 +11618,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1slice_ { try { try { - result = (std::vector< libtorrent::file_slice >::value_type *) &std_vector_Sl_libtorrent_file_slice_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::file_slice >::value_type *) &std_vector_Sl_libtorrent_file_slice_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -11641,13 +11651,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1slice_ arg2 = jarg2; arg3 = *(std::vector< libtorrent::file_slice >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::file_slice >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::file_slice >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_file_slice_Sg__doSet(arg1,arg2,(libtorrent::file_slice const &)*arg3); + result = std_vector_Sl_libtorrent_file_slice_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::file_slice const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -11660,7 +11670,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1slice_ return 0; } } - *(std::vector< libtorrent::file_slice >::value_type **)&jresult = new std::vector< libtorrent::file_slice >::value_type((const std::vector< libtorrent::file_slice >::value_type &)result); + *(std::vector< libtorrent::file_slice >::value_type **)&jresult = new std::vector< libtorrent::file_slice >::value_type(result); return jresult; } @@ -11679,7 +11689,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1slice_1 { try { try { - std_vector_Sl_libtorrent_file_slice_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_file_slice_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -11747,7 +11757,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1piece_1 (void)jarg1_; arg1 = *(std::vector< libtorrent::piece_block > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::piece_block > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::piece_block > const & is null"); return 0; } { @@ -11877,13 +11887,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1piece_1 arg1 = jarg1; arg2 = *(libtorrent::piece_block **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::piece_block const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::piece_block const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::piece_block > *)new_std_vector_Sl_libtorrent_piece_block_Sg___SWIG_2(arg1,(libtorrent::piece_block const &)*arg2); + result = (std::vector< libtorrent::piece_block > *)new_std_vector_Sl_libtorrent_piece_block_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::piece_block const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -11942,7 +11952,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1block_ arg1 = *(std::vector< libtorrent::piece_block > **)&jarg1; arg2 = *(std::vector< libtorrent::piece_block >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::piece_block >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::piece_block >::value_type const & is null"); return ; } { @@ -11972,13 +11982,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1block_ arg2 = jarg2; arg3 = *(std::vector< libtorrent::piece_block >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::piece_block >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::piece_block >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_piece_block_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::piece_block const &)*arg3); + std_vector_Sl_libtorrent_piece_block_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::piece_block const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -12008,7 +12018,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1block { try { try { - result = std_vector_Sl_libtorrent_piece_block_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_piece_block_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -12021,7 +12031,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1block return 0; } } - *(std::vector< libtorrent::piece_block >::value_type **)&jresult = new std::vector< libtorrent::piece_block >::value_type((const std::vector< libtorrent::piece_block >::value_type &)result); + *(std::vector< libtorrent::piece_block >::value_type **)&jresult = new std::vector< libtorrent::piece_block >::value_type(result); return jresult; } @@ -12040,7 +12050,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1block { try { try { - result = (std::vector< libtorrent::piece_block >::value_type *) &std_vector_Sl_libtorrent_piece_block_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::piece_block >::value_type *) &std_vector_Sl_libtorrent_piece_block_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -12073,13 +12083,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1block arg2 = jarg2; arg3 = *(std::vector< libtorrent::piece_block >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::piece_block >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::piece_block >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_piece_block_Sg__doSet(arg1,arg2,(libtorrent::piece_block const &)*arg3); + result = std_vector_Sl_libtorrent_piece_block_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::piece_block const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -12092,7 +12102,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1block return 0; } } - *(std::vector< libtorrent::piece_block >::value_type **)&jresult = new std::vector< libtorrent::piece_block >::value_type((const std::vector< libtorrent::piece_block >::value_type &)result); + *(std::vector< libtorrent::piece_block >::value_type **)&jresult = new std::vector< libtorrent::piece_block >::value_type(result); return jresult; } @@ -12111,7 +12121,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1block_ { try { try { - std_vector_Sl_libtorrent_piece_block_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_piece_block_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -12179,7 +12189,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1torrent (void)jarg1_; arg1 = *(std::vector< libtorrent::torrent_status > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_status > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_status > const & is null"); return 0; } { @@ -12309,13 +12319,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1torrent arg1 = jarg1; arg2 = *(libtorrent::torrent_status **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_status const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_status const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::torrent_status > *)new_std_vector_Sl_libtorrent_torrent_status_Sg___SWIG_2(arg1,(libtorrent::torrent_status const &)*arg2); + result = (std::vector< libtorrent::torrent_status > *)new_std_vector_Sl_libtorrent_torrent_status_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::torrent_status const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -12374,7 +12384,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1stat arg1 = *(std::vector< libtorrent::torrent_status > **)&jarg1; arg2 = *(std::vector< libtorrent::torrent_status >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_status >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_status >::value_type const & is null"); return ; } { @@ -12404,13 +12414,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1stat arg2 = jarg2; arg3 = *(std::vector< libtorrent::torrent_status >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_status >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_status >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_torrent_status_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::torrent_status const &)*arg3); + std_vector_Sl_libtorrent_torrent_status_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::torrent_status const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -12440,7 +12450,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1sta { try { try { - result = std_vector_Sl_libtorrent_torrent_status_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_torrent_status_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -12453,7 +12463,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1sta return 0; } } - *(std::vector< libtorrent::torrent_status >::value_type **)&jresult = new std::vector< libtorrent::torrent_status >::value_type((const std::vector< libtorrent::torrent_status >::value_type &)result); + *(std::vector< libtorrent::torrent_status >::value_type **)&jresult = new std::vector< libtorrent::torrent_status >::value_type(result); return jresult; } @@ -12472,7 +12482,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1sta { try { try { - result = (std::vector< libtorrent::torrent_status >::value_type *) &std_vector_Sl_libtorrent_torrent_status_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::torrent_status >::value_type *) &std_vector_Sl_libtorrent_torrent_status_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -12505,13 +12515,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1sta arg2 = jarg2; arg3 = *(std::vector< libtorrent::torrent_status >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_status >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_status >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_torrent_status_Sg__doSet(arg1,arg2,(libtorrent::torrent_status const &)*arg3); + result = std_vector_Sl_libtorrent_torrent_status_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::torrent_status const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -12524,7 +12534,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1sta return 0; } } - *(std::vector< libtorrent::torrent_status >::value_type **)&jresult = new std::vector< libtorrent::torrent_status >::value_type((const std::vector< libtorrent::torrent_status >::value_type &)result); + *(std::vector< libtorrent::torrent_status >::value_type **)&jresult = new std::vector< libtorrent::torrent_status >::value_type(result); return jresult; } @@ -12543,7 +12553,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1stat { try { try { - std_vector_Sl_libtorrent_torrent_status_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_torrent_status_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -12611,7 +12621,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1dht_1lo (void)jarg1_; arg1 = *(std::vector< libtorrent::dht_lookup > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_lookup > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_lookup > const & is null"); return 0; } { @@ -12741,13 +12751,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1dht_1lo arg1 = jarg1; arg2 = *(libtorrent::dht_lookup **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::dht_lookup const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::dht_lookup const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::dht_lookup > *)new_std_vector_Sl_libtorrent_dht_lookup_Sg___SWIG_2(arg1,(libtorrent::dht_lookup const &)*arg2); + result = (std::vector< libtorrent::dht_lookup > *)new_std_vector_Sl_libtorrent_dht_lookup_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::dht_lookup const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -12806,7 +12816,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1lookup_1 arg1 = *(std::vector< libtorrent::dht_lookup > **)&jarg1; arg2 = *(std::vector< libtorrent::dht_lookup >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_lookup >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_lookup >::value_type const & is null"); return ; } { @@ -12836,13 +12846,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1lookup_1 arg2 = jarg2; arg3 = *(std::vector< libtorrent::dht_lookup >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_lookup >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_lookup >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_dht_lookup_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::dht_lookup const &)*arg3); + std_vector_Sl_libtorrent_dht_lookup_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::dht_lookup const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -12872,7 +12882,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1lookup_ { try { try { - result = std_vector_Sl_libtorrent_dht_lookup_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_dht_lookup_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -12885,7 +12895,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1lookup_ return 0; } } - *(std::vector< libtorrent::dht_lookup >::value_type **)&jresult = new std::vector< libtorrent::dht_lookup >::value_type((const std::vector< libtorrent::dht_lookup >::value_type &)result); + *(std::vector< libtorrent::dht_lookup >::value_type **)&jresult = new std::vector< libtorrent::dht_lookup >::value_type(result); return jresult; } @@ -12904,7 +12914,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1lookup_ { try { try { - result = (std::vector< libtorrent::dht_lookup >::value_type *) &std_vector_Sl_libtorrent_dht_lookup_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::dht_lookup >::value_type *) &std_vector_Sl_libtorrent_dht_lookup_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -12937,13 +12947,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1lookup_ arg2 = jarg2; arg3 = *(std::vector< libtorrent::dht_lookup >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_lookup >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_lookup >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_dht_lookup_Sg__doSet(arg1,arg2,(libtorrent::dht_lookup const &)*arg3); + result = std_vector_Sl_libtorrent_dht_lookup_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::dht_lookup const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -12956,7 +12966,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1lookup_ return 0; } } - *(std::vector< libtorrent::dht_lookup >::value_type **)&jresult = new std::vector< libtorrent::dht_lookup >::value_type((const std::vector< libtorrent::dht_lookup >::value_type &)result); + *(std::vector< libtorrent::dht_lookup >::value_type **)&jresult = new std::vector< libtorrent::dht_lookup >::value_type(result); return jresult; } @@ -12975,7 +12985,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1lookup_1 { try { try { - std_vector_Sl_libtorrent_dht_lookup_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_dht_lookup_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -13043,7 +13053,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1dht_1ro (void)jarg1_; arg1 = *(std::vector< libtorrent::dht_routing_bucket > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_routing_bucket > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_routing_bucket > const & is null"); return 0; } { @@ -13173,13 +13183,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1dht_1ro arg1 = jarg1; arg2 = *(libtorrent::dht_routing_bucket **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::dht_routing_bucket const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::dht_routing_bucket const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::dht_routing_bucket > *)new_std_vector_Sl_libtorrent_dht_routing_bucket_Sg___SWIG_2(arg1,(libtorrent::dht_routing_bucket const &)*arg2); + result = (std::vector< libtorrent::dht_routing_bucket > *)new_std_vector_Sl_libtorrent_dht_routing_bucket_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::dht_routing_bucket const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -13238,7 +13248,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1routing_ arg1 = *(std::vector< libtorrent::dht_routing_bucket > **)&jarg1; arg2 = *(std::vector< libtorrent::dht_routing_bucket >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_routing_bucket >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_routing_bucket >::value_type const & is null"); return ; } { @@ -13268,13 +13278,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1routing_ arg2 = jarg2; arg3 = *(std::vector< libtorrent::dht_routing_bucket >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_routing_bucket >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_routing_bucket >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_dht_routing_bucket_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::dht_routing_bucket const &)*arg3); + std_vector_Sl_libtorrent_dht_routing_bucket_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::dht_routing_bucket const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -13304,7 +13314,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1routing { try { try { - result = std_vector_Sl_libtorrent_dht_routing_bucket_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_dht_routing_bucket_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -13317,7 +13327,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1routing return 0; } } - *(std::vector< libtorrent::dht_routing_bucket >::value_type **)&jresult = new std::vector< libtorrent::dht_routing_bucket >::value_type((const std::vector< libtorrent::dht_routing_bucket >::value_type &)result); + *(std::vector< libtorrent::dht_routing_bucket >::value_type **)&jresult = new std::vector< libtorrent::dht_routing_bucket >::value_type(result); return jresult; } @@ -13336,7 +13346,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1routing { try { try { - result = (std::vector< libtorrent::dht_routing_bucket >::value_type *) &std_vector_Sl_libtorrent_dht_routing_bucket_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::dht_routing_bucket >::value_type *) &std_vector_Sl_libtorrent_dht_routing_bucket_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -13369,13 +13379,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1routing arg2 = jarg2; arg3 = *(std::vector< libtorrent::dht_routing_bucket >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_routing_bucket >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::dht_routing_bucket >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_dht_routing_bucket_Sg__doSet(arg1,arg2,(libtorrent::dht_routing_bucket const &)*arg3); + result = std_vector_Sl_libtorrent_dht_routing_bucket_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::dht_routing_bucket const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -13388,7 +13398,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1routing return 0; } } - *(std::vector< libtorrent::dht_routing_bucket >::value_type **)&jresult = new std::vector< libtorrent::dht_routing_bucket >::value_type((const std::vector< libtorrent::dht_routing_bucket >::value_type &)result); + *(std::vector< libtorrent::dht_routing_bucket >::value_type **)&jresult = new std::vector< libtorrent::dht_routing_bucket >::value_type(result); return jresult; } @@ -13407,7 +13417,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1routing_ { try { try { - std_vector_Sl_libtorrent_dht_routing_bucket_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_dht_routing_bucket_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -13475,7 +13485,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1entry_1 (void)jarg1_; arg1 = *(std::vector< libtorrent::entry > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::entry > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::entry > const & is null"); return 0; } { @@ -13605,13 +13615,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1entry_1 arg1 = jarg1; arg2 = *(libtorrent::entry **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::entry > *)new_std_vector_Sl_libtorrent_entry_Sg___SWIG_2(arg1,(libtorrent::entry const &)*arg2); + result = (std::vector< libtorrent::entry > *)new_std_vector_Sl_libtorrent_entry_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::entry const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -13670,7 +13680,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1vector arg1 = *(std::vector< libtorrent::entry > **)&jarg1; arg2 = *(std::vector< libtorrent::entry >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::entry >::value_type const & is null"); return ; } { @@ -13700,13 +13710,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1vector arg2 = jarg2; arg3 = *(std::vector< libtorrent::entry >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::entry >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_entry_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::entry const &)*arg3); + std_vector_Sl_libtorrent_entry_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::entry const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -13736,7 +13746,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1vecto { try { try { - result = std_vector_Sl_libtorrent_entry_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_entry_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -13749,7 +13759,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1vecto return 0; } } - *(std::vector< libtorrent::entry >::value_type **)&jresult = new std::vector< libtorrent::entry >::value_type((const std::vector< libtorrent::entry >::value_type &)result); + *(std::vector< libtorrent::entry >::value_type **)&jresult = new std::vector< libtorrent::entry >::value_type(result); return jresult; } @@ -13768,7 +13778,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1vecto { try { try { - result = (std::vector< libtorrent::entry >::value_type *) &std_vector_Sl_libtorrent_entry_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::entry >::value_type *) &std_vector_Sl_libtorrent_entry_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -13801,13 +13811,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1vecto arg2 = jarg2; arg3 = *(std::vector< libtorrent::entry >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::entry >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_entry_Sg__doSet(arg1,arg2,(libtorrent::entry const &)*arg3); + result = std_vector_Sl_libtorrent_entry_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::entry const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -13820,7 +13830,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1vecto return 0; } } - *(std::vector< libtorrent::entry >::value_type **)&jresult = new std::vector< libtorrent::entry >::value_type((const std::vector< libtorrent::entry >::value_type &)result); + *(std::vector< libtorrent::entry >::value_type **)&jresult = new std::vector< libtorrent::entry >::value_type(result); return jresult; } @@ -13839,7 +13849,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1vector { try { try { - std_vector_Sl_libtorrent_entry_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_entry_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -13907,7 +13917,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1partial (void)jarg1_; arg1 = *(std::vector< libtorrent::partial_piece_info > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::partial_piece_info > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::partial_piece_info > const & is null"); return 0; } { @@ -14037,13 +14047,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1partial arg1 = jarg1; arg2 = *(libtorrent::partial_piece_info **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::partial_piece_info const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::partial_piece_info const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::partial_piece_info > *)new_std_vector_Sl_libtorrent_partial_piece_info_Sg___SWIG_2(arg1,(libtorrent::partial_piece_info const &)*arg2); + result = (std::vector< libtorrent::partial_piece_info > *)new_std_vector_Sl_libtorrent_partial_piece_info_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::partial_piece_info const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -14102,7 +14112,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_partial_1piec arg1 = *(std::vector< libtorrent::partial_piece_info > **)&jarg1; arg2 = *(std::vector< libtorrent::partial_piece_info >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::partial_piece_info >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::partial_piece_info >::value_type const & is null"); return ; } { @@ -14132,13 +14142,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_partial_1piec arg2 = jarg2; arg3 = *(std::vector< libtorrent::partial_piece_info >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::partial_piece_info >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::partial_piece_info >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_partial_piece_info_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::partial_piece_info const &)*arg3); + std_vector_Sl_libtorrent_partial_piece_info_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::partial_piece_info const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -14168,7 +14178,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_partial_1pie { try { try { - result = std_vector_Sl_libtorrent_partial_piece_info_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_partial_piece_info_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -14181,7 +14191,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_partial_1pie return 0; } } - *(std::vector< libtorrent::partial_piece_info >::value_type **)&jresult = new std::vector< libtorrent::partial_piece_info >::value_type((const std::vector< libtorrent::partial_piece_info >::value_type &)result); + *(std::vector< libtorrent::partial_piece_info >::value_type **)&jresult = new std::vector< libtorrent::partial_piece_info >::value_type(result); return jresult; } @@ -14200,7 +14210,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_partial_1pie { try { try { - result = (std::vector< libtorrent::partial_piece_info >::value_type *) &std_vector_Sl_libtorrent_partial_piece_info_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::partial_piece_info >::value_type *) &std_vector_Sl_libtorrent_partial_piece_info_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -14233,13 +14243,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_partial_1pie arg2 = jarg2; arg3 = *(std::vector< libtorrent::partial_piece_info >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::partial_piece_info >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::partial_piece_info >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_partial_piece_info_Sg__doSet(arg1,arg2,(libtorrent::partial_piece_info const &)*arg3); + result = std_vector_Sl_libtorrent_partial_piece_info_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::partial_piece_info const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -14252,7 +14262,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_partial_1pie return 0; } } - *(std::vector< libtorrent::partial_piece_info >::value_type **)&jresult = new std::vector< libtorrent::partial_piece_info >::value_type((const std::vector< libtorrent::partial_piece_info >::value_type &)result); + *(std::vector< libtorrent::partial_piece_info >::value_type **)&jresult = new std::vector< libtorrent::partial_piece_info >::value_type(result); return jresult; } @@ -14271,7 +14281,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_partial_1piec { try { try { - std_vector_Sl_libtorrent_partial_piece_info_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_partial_piece_info_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -14339,7 +14349,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1peer_1i (void)jarg1_; arg1 = *(std::vector< libtorrent::peer_info > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::peer_info > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::peer_info > const & is null"); return 0; } { @@ -14469,13 +14479,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1peer_1i arg1 = jarg1; arg2 = *(libtorrent::peer_info **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::peer_info const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::peer_info const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::peer_info > *)new_std_vector_Sl_libtorrent_peer_info_Sg___SWIG_2(arg1,(libtorrent::peer_info const &)*arg2); + result = (std::vector< libtorrent::peer_info > *)new_std_vector_Sl_libtorrent_peer_info_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::peer_info const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -14534,7 +14544,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1info_1v arg1 = *(std::vector< libtorrent::peer_info > **)&jarg1; arg2 = *(std::vector< libtorrent::peer_info >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::peer_info >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::peer_info >::value_type const & is null"); return ; } { @@ -14564,13 +14574,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1info_1v arg2 = jarg2; arg3 = *(std::vector< libtorrent::peer_info >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::peer_info >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::peer_info >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_peer_info_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::peer_info const &)*arg3); + std_vector_Sl_libtorrent_peer_info_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::peer_info const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -14600,7 +14610,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1info_1 { try { try { - result = std_vector_Sl_libtorrent_peer_info_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_peer_info_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -14613,7 +14623,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1info_1 return 0; } } - *(std::vector< libtorrent::peer_info >::value_type **)&jresult = new std::vector< libtorrent::peer_info >::value_type((const std::vector< libtorrent::peer_info >::value_type &)result); + *(std::vector< libtorrent::peer_info >::value_type **)&jresult = new std::vector< libtorrent::peer_info >::value_type(result); return jresult; } @@ -14632,7 +14642,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1info_1 { try { try { - result = (std::vector< libtorrent::peer_info >::value_type *) &std_vector_Sl_libtorrent_peer_info_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::peer_info >::value_type *) &std_vector_Sl_libtorrent_peer_info_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -14665,13 +14675,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1info_1 arg2 = jarg2; arg3 = *(std::vector< libtorrent::peer_info >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::peer_info >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::peer_info >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_peer_info_Sg__doSet(arg1,arg2,(libtorrent::peer_info const &)*arg3); + result = std_vector_Sl_libtorrent_peer_info_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::peer_info const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -14684,7 +14694,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1info_1 return 0; } } - *(std::vector< libtorrent::peer_info >::value_type **)&jresult = new std::vector< libtorrent::peer_info >::value_type((const std::vector< libtorrent::peer_info >::value_type &)result); + *(std::vector< libtorrent::peer_info >::value_type **)&jresult = new std::vector< libtorrent::peer_info >::value_type(result); return jresult; } @@ -14703,7 +14713,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1info_1v { try { try { - std_vector_Sl_libtorrent_peer_info_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_peer_info_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -14771,7 +14781,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1torrent (void)jarg1_; arg1 = *(std::vector< libtorrent::torrent_handle > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_handle > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_handle > const & is null"); return 0; } { @@ -14901,13 +14911,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1torrent arg1 = jarg1; arg2 = *(libtorrent::torrent_handle **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::torrent_handle > *)new_std_vector_Sl_libtorrent_torrent_handle_Sg___SWIG_2(arg1,(libtorrent::torrent_handle const &)*arg2); + result = (std::vector< libtorrent::torrent_handle > *)new_std_vector_Sl_libtorrent_torrent_handle_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::torrent_handle const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -14966,7 +14976,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(std::vector< libtorrent::torrent_handle > **)&jarg1; arg2 = *(std::vector< libtorrent::torrent_handle >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_handle >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_handle >::value_type const & is null"); return ; } { @@ -14996,13 +15006,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg2 = jarg2; arg3 = *(std::vector< libtorrent::torrent_handle >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_handle >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_handle >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_torrent_handle_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::torrent_handle const &)*arg3); + std_vector_Sl_libtorrent_torrent_handle_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::torrent_handle const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -15032,7 +15042,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han { try { try { - result = std_vector_Sl_libtorrent_torrent_handle_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_torrent_handle_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -15045,7 +15055,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(std::vector< libtorrent::torrent_handle >::value_type **)&jresult = new std::vector< libtorrent::torrent_handle >::value_type((const std::vector< libtorrent::torrent_handle >::value_type &)result); + *(std::vector< libtorrent::torrent_handle >::value_type **)&jresult = new std::vector< libtorrent::torrent_handle >::value_type(result); return jresult; } @@ -15064,7 +15074,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han { try { try { - result = (std::vector< libtorrent::torrent_handle >::value_type *) &std_vector_Sl_libtorrent_torrent_handle_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::torrent_handle >::value_type *) &std_vector_Sl_libtorrent_torrent_handle_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -15097,13 +15107,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han arg2 = jarg2; arg3 = *(std::vector< libtorrent::torrent_handle >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_handle >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::torrent_handle >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_torrent_handle_Sg__doSet(arg1,arg2,(libtorrent::torrent_handle const &)*arg3); + result = std_vector_Sl_libtorrent_torrent_handle_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::torrent_handle const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -15116,7 +15126,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(std::vector< libtorrent::torrent_handle >::value_type **)&jresult = new std::vector< libtorrent::torrent_handle >::value_type((const std::vector< libtorrent::torrent_handle >::value_type &)result); + *(std::vector< libtorrent::torrent_handle >::value_type **)&jresult = new std::vector< libtorrent::torrent_handle >::value_type(result); return jresult; } @@ -15135,7 +15145,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand { try { try { - std_vector_Sl_libtorrent_torrent_handle_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_torrent_handle_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -15203,7 +15213,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1alert_1 (void)jarg1_; arg1 = *(std::vector< libtorrent::alert * > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::alert * > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::alert * > const & is null"); return 0; } { @@ -15337,7 +15347,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1alert_1 { try { try { - result = (std::vector< libtorrent::alert * > *)new_std_vector_Sl_libtorrent_alert_Sm__Sg___SWIG_2(arg1,(libtorrent::alert *const &)*arg2); + result = (std::vector< libtorrent::alert * > *)new_std_vector_Sl_libtorrent_alert_Sm__Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::alert *const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -15428,7 +15438,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1ptr_1v { try { try { - std_vector_Sl_libtorrent_alert_Sm__Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::alert *const &)*arg3); + std_vector_Sl_libtorrent_alert_Sm__Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::alert *const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -15458,7 +15468,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1ptr_1 { try { try { - result = (std::vector< libtorrent::alert * >::value_type)std_vector_Sl_libtorrent_alert_Sm__Sg__doRemove(arg1,arg2); + result = (std::vector< libtorrent::alert * >::value_type)std_vector_Sl_libtorrent_alert_Sm__Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -15490,7 +15500,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1ptr_1 { try { try { - result = (std::vector< libtorrent::alert * >::value_type *) &std_vector_Sl_libtorrent_alert_Sm__Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::alert * >::value_type *) &std_vector_Sl_libtorrent_alert_Sm__Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -15527,7 +15537,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1ptr_1 { try { try { - result = (std::vector< libtorrent::alert * >::value_type)std_vector_Sl_libtorrent_alert_Sm__Sg__doSet(arg1,arg2,(libtorrent::alert *const &)*arg3); + result = (std::vector< libtorrent::alert * >::value_type)std_vector_Sl_libtorrent_alert_Sm__Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::alert *const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -15559,7 +15569,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1ptr_1v { try { try { - std_vector_Sl_libtorrent_alert_Sm__Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_alert_Sm__Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -15627,7 +15637,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1stats_1 (void)jarg1_; arg1 = *(std::vector< libtorrent::stats_metric > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::stats_metric > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::stats_metric > const & is null"); return 0; } { @@ -15757,13 +15767,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1stats_1 arg1 = jarg1; arg2 = *(libtorrent::stats_metric **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::stats_metric const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::stats_metric const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::stats_metric > *)new_std_vector_Sl_libtorrent_stats_metric_Sg___SWIG_2(arg1,(libtorrent::stats_metric const &)*arg2); + result = (std::vector< libtorrent::stats_metric > *)new_std_vector_Sl_libtorrent_stats_metric_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::stats_metric const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -15822,7 +15832,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_stats_1metric arg1 = *(std::vector< libtorrent::stats_metric > **)&jarg1; arg2 = *(std::vector< libtorrent::stats_metric >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::stats_metric >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::stats_metric >::value_type const & is null"); return ; } { @@ -15852,13 +15862,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_stats_1metric arg2 = jarg2; arg3 = *(std::vector< libtorrent::stats_metric >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::stats_metric >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::stats_metric >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_stats_metric_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::stats_metric const &)*arg3); + std_vector_Sl_libtorrent_stats_metric_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::stats_metric const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -15888,7 +15898,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_stats_1metri { try { try { - result = std_vector_Sl_libtorrent_stats_metric_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_stats_metric_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -15901,7 +15911,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_stats_1metri return 0; } } - *(std::vector< libtorrent::stats_metric >::value_type **)&jresult = new std::vector< libtorrent::stats_metric >::value_type((const std::vector< libtorrent::stats_metric >::value_type &)result); + *(std::vector< libtorrent::stats_metric >::value_type **)&jresult = new std::vector< libtorrent::stats_metric >::value_type(result); return jresult; } @@ -15920,7 +15930,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_stats_1metri { try { try { - result = (std::vector< libtorrent::stats_metric >::value_type *) &std_vector_Sl_libtorrent_stats_metric_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::stats_metric >::value_type *) &std_vector_Sl_libtorrent_stats_metric_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -15953,13 +15963,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_stats_1metri arg2 = jarg2; arg3 = *(std::vector< libtorrent::stats_metric >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::stats_metric >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::stats_metric >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_stats_metric_Sg__doSet(arg1,arg2,(libtorrent::stats_metric const &)*arg3); + result = std_vector_Sl_libtorrent_stats_metric_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::stats_metric const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -15972,7 +15982,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_stats_1metri return 0; } } - *(std::vector< libtorrent::stats_metric >::value_type **)&jresult = new std::vector< libtorrent::stats_metric >::value_type((const std::vector< libtorrent::stats_metric >::value_type &)result); + *(std::vector< libtorrent::stats_metric >::value_type **)&jresult = new std::vector< libtorrent::stats_metric >::value_type(result); return jresult; } @@ -15991,7 +16001,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_stats_1metric { try { try { - std_vector_Sl_libtorrent_stats_metric_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_stats_metric_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -16059,7 +16069,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1ip_1int (void)jarg1_; arg1 = *(std::vector< ip_interface > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_interface > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_interface > const & is null"); return 0; } { @@ -16189,13 +16199,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1ip_1int arg1 = jarg1; arg2 = *(ip_interface **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "ip_interface const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "ip_interface const & is null"); return 0; } { try { try { - result = (std::vector< ip_interface > *)new_std_vector_Sl_ip_interface_Sg___SWIG_2(arg1,(ip_interface const &)*arg2); + result = (std::vector< ip_interface > *)new_std_vector_Sl_ip_interface_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(ip_interface const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -16254,7 +16264,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1interface arg1 = *(std::vector< ip_interface > **)&jarg1; arg2 = *(std::vector< ip_interface >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_interface >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_interface >::value_type const & is null"); return ; } { @@ -16284,13 +16294,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1interface arg2 = jarg2; arg3 = *(std::vector< ip_interface >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_interface >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_interface >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_ip_interface_Sg__doAdd__SWIG_1(arg1,arg2,(ip_interface const &)*arg3); + std_vector_Sl_ip_interface_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(ip_interface const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -16320,7 +16330,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1interfac { try { try { - result = std_vector_Sl_ip_interface_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_ip_interface_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -16333,7 +16343,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1interfac return 0; } } - *(std::vector< ip_interface >::value_type **)&jresult = new std::vector< ip_interface >::value_type((const std::vector< ip_interface >::value_type &)result); + *(std::vector< ip_interface >::value_type **)&jresult = new std::vector< ip_interface >::value_type(result); return jresult; } @@ -16352,7 +16362,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1interfac { try { try { - result = (std::vector< ip_interface >::value_type *) &std_vector_Sl_ip_interface_Sg__doGet(arg1,arg2); + result = (std::vector< ip_interface >::value_type *) &std_vector_Sl_ip_interface_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -16385,13 +16395,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1interfac arg2 = jarg2; arg3 = *(std::vector< ip_interface >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_interface >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_interface >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_ip_interface_Sg__doSet(arg1,arg2,(ip_interface const &)*arg3); + result = std_vector_Sl_ip_interface_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(ip_interface const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -16404,7 +16414,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1interfac return 0; } } - *(std::vector< ip_interface >::value_type **)&jresult = new std::vector< ip_interface >::value_type((const std::vector< ip_interface >::value_type &)result); + *(std::vector< ip_interface >::value_type **)&jresult = new std::vector< ip_interface >::value_type(result); return jresult; } @@ -16423,7 +16433,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1interface { try { try { - std_vector_Sl_ip_interface_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_ip_interface_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -16491,7 +16501,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1ip_1rou (void)jarg1_; arg1 = *(std::vector< ip_route > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_route > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_route > const & is null"); return 0; } { @@ -16621,13 +16631,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1ip_1rou arg1 = jarg1; arg2 = *(ip_route **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "ip_route const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "ip_route const & is null"); return 0; } { try { try { - result = (std::vector< ip_route > *)new_std_vector_Sl_ip_route_Sg___SWIG_2(arg1,(ip_route const &)*arg2); + result = (std::vector< ip_route > *)new_std_vector_Sl_ip_route_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(ip_route const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -16686,7 +16696,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1route_1ve arg1 = *(std::vector< ip_route > **)&jarg1; arg2 = *(std::vector< ip_route >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_route >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_route >::value_type const & is null"); return ; } { @@ -16716,13 +16726,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1route_1ve arg2 = jarg2; arg3 = *(std::vector< ip_route >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_route >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_route >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_ip_route_Sg__doAdd__SWIG_1(arg1,arg2,(ip_route const &)*arg3); + std_vector_Sl_ip_route_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(ip_route const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -16752,7 +16762,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1route_1v { try { try { - result = std_vector_Sl_ip_route_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_ip_route_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -16765,7 +16775,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1route_1v return 0; } } - *(std::vector< ip_route >::value_type **)&jresult = new std::vector< ip_route >::value_type((const std::vector< ip_route >::value_type &)result); + *(std::vector< ip_route >::value_type **)&jresult = new std::vector< ip_route >::value_type(result); return jresult; } @@ -16784,7 +16794,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1route_1v { try { try { - result = (std::vector< ip_route >::value_type *) &std_vector_Sl_ip_route_Sg__doGet(arg1,arg2); + result = (std::vector< ip_route >::value_type *) &std_vector_Sl_ip_route_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -16817,13 +16827,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1route_1v arg2 = jarg2; arg3 = *(std::vector< ip_route >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_route >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_route >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_ip_route_Sg__doSet(arg1,arg2,(ip_route const &)*arg3); + result = std_vector_Sl_ip_route_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(ip_route const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -16836,7 +16846,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1route_1v return 0; } } - *(std::vector< ip_route >::value_type **)&jresult = new std::vector< ip_route >::value_type((const std::vector< ip_route >::value_type &)result); + *(std::vector< ip_route >::value_type **)&jresult = new std::vector< ip_route >::value_type(result); return jresult; } @@ -16855,7 +16865,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1route_1ve { try { try { - std_vector_Sl_ip_route_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_ip_route_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -16923,7 +16933,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1create_ (void)jarg1_; arg1 = *(std::vector< libtorrent::create_file_entry > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::create_file_entry > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::create_file_entry > const & is null"); return 0; } { @@ -17053,13 +17063,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1create_ arg1 = jarg1; arg2 = *(libtorrent::create_file_entry **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::create_file_entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::create_file_entry const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::create_file_entry > *)new_std_vector_Sl_libtorrent_create_file_entry_Sg___SWIG_2(arg1,(libtorrent::create_file_entry const &)*arg2); + result = (std::vector< libtorrent::create_file_entry > *)new_std_vector_Sl_libtorrent_create_file_entry_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::create_file_entry const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -17118,7 +17128,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1file_ arg1 = *(std::vector< libtorrent::create_file_entry > **)&jarg1; arg2 = *(std::vector< libtorrent::create_file_entry >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::create_file_entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::create_file_entry >::value_type const & is null"); return ; } { @@ -17148,13 +17158,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1file_ arg2 = jarg2; arg3 = *(std::vector< libtorrent::create_file_entry >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::create_file_entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::create_file_entry >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_create_file_entry_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::create_file_entry const &)*arg3); + std_vector_Sl_libtorrent_create_file_entry_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::create_file_entry const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -17184,7 +17194,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1file { try { try { - result = std_vector_Sl_libtorrent_create_file_entry_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_create_file_entry_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -17197,7 +17207,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1file return 0; } } - *(std::vector< libtorrent::create_file_entry >::value_type **)&jresult = new std::vector< libtorrent::create_file_entry >::value_type((const std::vector< libtorrent::create_file_entry >::value_type &)result); + *(std::vector< libtorrent::create_file_entry >::value_type **)&jresult = new std::vector< libtorrent::create_file_entry >::value_type(result); return jresult; } @@ -17216,7 +17226,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1file { try { try { - result = (std::vector< libtorrent::create_file_entry >::value_type *) &std_vector_Sl_libtorrent_create_file_entry_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::create_file_entry >::value_type *) &std_vector_Sl_libtorrent_create_file_entry_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -17249,13 +17259,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1file arg2 = jarg2; arg3 = *(std::vector< libtorrent::create_file_entry >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::create_file_entry >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::create_file_entry >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_create_file_entry_Sg__doSet(arg1,arg2,(libtorrent::create_file_entry const &)*arg3); + result = std_vector_Sl_libtorrent_create_file_entry_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::create_file_entry const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -17268,7 +17278,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1file return 0; } } - *(std::vector< libtorrent::create_file_entry >::value_type **)&jresult = new std::vector< libtorrent::create_file_entry >::value_type((const std::vector< libtorrent::create_file_entry >::value_type &)result); + *(std::vector< libtorrent::create_file_entry >::value_type **)&jresult = new std::vector< libtorrent::create_file_entry >::value_type(result); return jresult; } @@ -17287,7 +17297,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1file_ { try { try { - std_vector_Sl_libtorrent_create_file_entry_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_create_file_entry_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -17355,7 +17365,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1block_1 (void)jarg1_; arg1 = *(std::vector< libtorrent::block_info > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::block_info > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::block_info > const & is null"); return 0; } { @@ -17485,13 +17495,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1block_1 arg1 = jarg1; arg2 = *(libtorrent::block_info **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::block_info const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::block_info const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::block_info > *)new_std_vector_Sl_libtorrent_block_info_Sg___SWIG_2(arg1,(libtorrent::block_info const &)*arg2); + result = (std::vector< libtorrent::block_info > *)new_std_vector_Sl_libtorrent_block_info_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::block_info const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -17550,7 +17560,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1info_1 arg1 = *(std::vector< libtorrent::block_info > **)&jarg1; arg2 = *(std::vector< libtorrent::block_info >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::block_info >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::block_info >::value_type const & is null"); return ; } { @@ -17580,13 +17590,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1info_1 arg2 = jarg2; arg3 = *(std::vector< libtorrent::block_info >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::block_info >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::block_info >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_block_info_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::block_info const &)*arg3); + std_vector_Sl_libtorrent_block_info_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::block_info const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -17616,7 +17626,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1info_ { try { try { - result = std_vector_Sl_libtorrent_block_info_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_block_info_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -17629,7 +17639,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1info_ return 0; } } - *(std::vector< libtorrent::block_info >::value_type **)&jresult = new std::vector< libtorrent::block_info >::value_type((const std::vector< libtorrent::block_info >::value_type &)result); + *(std::vector< libtorrent::block_info >::value_type **)&jresult = new std::vector< libtorrent::block_info >::value_type(result); return jresult; } @@ -17648,7 +17658,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1info_ { try { try { - result = (std::vector< libtorrent::block_info >::value_type *) &std_vector_Sl_libtorrent_block_info_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::block_info >::value_type *) &std_vector_Sl_libtorrent_block_info_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -17681,13 +17691,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1info_ arg2 = jarg2; arg3 = *(std::vector< libtorrent::block_info >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::block_info >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::block_info >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_block_info_Sg__doSet(arg1,arg2,(libtorrent::block_info const &)*arg3); + result = std_vector_Sl_libtorrent_block_info_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::block_info const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -17700,7 +17710,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1info_ return 0; } } - *(std::vector< libtorrent::block_info >::value_type **)&jresult = new std::vector< libtorrent::block_info >::value_type((const std::vector< libtorrent::block_info >::value_type &)result); + *(std::vector< libtorrent::block_info >::value_type **)&jresult = new std::vector< libtorrent::block_info >::value_type(result); return jresult; } @@ -17719,7 +17729,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1info_1 { try { try { - std_vector_Sl_libtorrent_block_info_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_block_info_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -17787,7 +17797,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1bitfiel (void)jarg1_; arg1 = *(std::vector< libtorrent::bitfield > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield > const & is null"); return 0; } { @@ -17917,13 +17927,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1bitfiel arg1 = jarg1; arg2 = *(libtorrent::bitfield **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::bitfield > *)new_std_vector_Sl_libtorrent_bitfield_Sg___SWIG_2(arg1,(libtorrent::bitfield const &)*arg2); + result = (std::vector< libtorrent::bitfield > *)new_std_vector_Sl_libtorrent_bitfield_Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::bitfield const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -17982,7 +17992,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bitfield_1vec arg1 = *(std::vector< libtorrent::bitfield > **)&jarg1; arg2 = *(std::vector< libtorrent::bitfield >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield >::value_type const & is null"); return ; } { @@ -18012,13 +18022,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bitfield_1vec arg2 = jarg2; arg3 = *(std::vector< libtorrent::bitfield >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_bitfield_Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::bitfield const &)*arg3); + std_vector_Sl_libtorrent_bitfield_Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::bitfield const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -18048,7 +18058,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bitfield_1ve { try { try { - result = std_vector_Sl_libtorrent_bitfield_Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_bitfield_Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -18061,7 +18071,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bitfield_1ve return 0; } } - *(std::vector< libtorrent::bitfield >::value_type **)&jresult = new std::vector< libtorrent::bitfield >::value_type((const std::vector< libtorrent::bitfield >::value_type &)result); + *(std::vector< libtorrent::bitfield >::value_type **)&jresult = new std::vector< libtorrent::bitfield >::value_type(result); return jresult; } @@ -18080,7 +18090,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bitfield_1ve { try { try { - result = (std::vector< libtorrent::bitfield >::value_type *) &std_vector_Sl_libtorrent_bitfield_Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::bitfield >::value_type *) &std_vector_Sl_libtorrent_bitfield_Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -18113,13 +18123,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bitfield_1ve arg2 = jarg2; arg3 = *(std::vector< libtorrent::bitfield >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_bitfield_Sg__doSet(arg1,arg2,(libtorrent::bitfield const &)*arg3); + result = std_vector_Sl_libtorrent_bitfield_Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::bitfield const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -18132,7 +18142,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bitfield_1ve return 0; } } - *(std::vector< libtorrent::bitfield >::value_type **)&jresult = new std::vector< libtorrent::bitfield >::value_type((const std::vector< libtorrent::bitfield >::value_type &)result); + *(std::vector< libtorrent::bitfield >::value_type **)&jresult = new std::vector< libtorrent::bitfield >::value_type(result); return jresult; } @@ -18151,7 +18161,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bitfield_1vec { try { try { - std_vector_Sl_libtorrent_bitfield_Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_bitfield_Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -18219,7 +18229,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1bool_1v (void)jarg1_; arg1 = *(std::vector< std::vector< bool > > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< bool > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< bool > > const & is null"); return 0; } { @@ -18349,13 +18359,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1bool_1v arg1 = jarg1; arg2 = *(std::vector< bool > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< bool > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< bool > const & is null"); return 0; } { try { try { - result = (std::vector< std::vector< bool > > *)new_std_vector_Sl_std_vector_Sl_bool_Sg__Sg___SWIG_2(arg1,(std::vector< bool > const &)*arg2); + result = (std::vector< std::vector< bool > > *)new_std_vector_Sl_std_vector_Sl_bool_Sg__Sg___SWIG_2(SWIG_STD_MOVE(arg1),(std::vector< bool > const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -18414,7 +18424,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vector_ arg1 = *(std::vector< std::vector< bool > > **)&jarg1; arg2 = *(std::vector< std::vector< bool > >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< bool > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< bool > >::value_type const & is null"); return ; } { @@ -18444,13 +18454,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vector_ arg2 = jarg2; arg3 = *(std::vector< std::vector< bool > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< bool > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< bool > >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_std_vector_Sl_bool_Sg__Sg__doAdd__SWIG_1(arg1,arg2,(std::vector< bool > const &)*arg3); + std_vector_Sl_std_vector_Sl_bool_Sg__Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(std::vector< bool > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -18480,7 +18490,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vector { try { try { - result = std_vector_Sl_std_vector_Sl_bool_Sg__Sg__doRemove(arg1,arg2); + result = std_vector_Sl_std_vector_Sl_bool_Sg__Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -18493,7 +18503,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vector return 0; } } - *(std::vector< std::vector< bool > >::value_type **)&jresult = new std::vector< std::vector< bool > >::value_type((const std::vector< std::vector< bool > >::value_type &)result); + *(std::vector< std::vector< bool > >::value_type **)&jresult = new std::vector< std::vector< bool > >::value_type(result); return jresult; } @@ -18512,7 +18522,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vector { try { try { - result = (std::vector< std::vector< bool > >::value_type *) &std_vector_Sl_std_vector_Sl_bool_Sg__Sg__doGet(arg1,arg2); + result = (std::vector< std::vector< bool > >::value_type *) &std_vector_Sl_std_vector_Sl_bool_Sg__Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -18545,13 +18555,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vector arg2 = jarg2; arg3 = *(std::vector< std::vector< bool > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< bool > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< bool > >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_std_vector_Sl_bool_Sg__Sg__doSet(arg1,arg2,(std::vector< bool > const &)*arg3); + result = std_vector_Sl_std_vector_Sl_bool_Sg__Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(std::vector< bool > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -18564,7 +18574,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vector return 0; } } - *(std::vector< std::vector< bool > >::value_type **)&jresult = new std::vector< std::vector< bool > >::value_type((const std::vector< std::vector< bool > >::value_type &)result); + *(std::vector< std::vector< bool > >::value_type **)&jresult = new std::vector< std::vector< bool > >::value_type(result); return jresult; } @@ -18583,7 +18593,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bool_1vector_ { try { try { - std_vector_Sl_std_vector_Sl_bool_Sg__Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_std_vector_Sl_bool_Sg__Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -18651,7 +18661,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha256_ (void)jarg1_; arg1 = *(std::vector< std::vector< libtorrent::digest32< 256 > > > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< libtorrent::digest32< 256 > > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< libtorrent::digest32< 256 > > > const & is null"); return 0; } { @@ -18781,13 +18791,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha256_ arg1 = jarg1; arg2 = *(std::vector< libtorrent::digest32< 256 > > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 256 > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 256 > > const & is null"); return 0; } { try { try { - result = (std::vector< std::vector< libtorrent::digest32< 256 > > > *)new_std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg___SWIG_2(arg1,(std::vector< libtorrent::digest32< 256 > > const &)*arg2); + result = (std::vector< std::vector< libtorrent::digest32< 256 > > > *)new_std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg___SWIG_2(SWIG_STD_MOVE(arg1),(std::vector< libtorrent::digest32< 256 > > const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -18846,7 +18856,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash_ arg1 = *(std::vector< std::vector< libtorrent::digest32< 256 > > > **)&jarg1; arg2 = *(std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type const & is null"); return ; } { @@ -18876,13 +18886,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash_ arg2 = jarg2; arg3 = *(std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg__doAdd__SWIG_1(arg1,arg2,(std::vector< libtorrent::digest32< 256 > > const &)*arg3); + std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(std::vector< libtorrent::digest32< 256 > > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -18912,7 +18922,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash { try { try { - result = std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg__doRemove(arg1,arg2); + result = std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -18925,7 +18935,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash return 0; } } - *(std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type **)&jresult = new std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type((const std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type &)result); + *(std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type **)&jresult = new std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type(result); return jresult; } @@ -18944,7 +18954,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash { try { try { - result = (std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type *) &std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg__doGet(arg1,arg2); + result = (std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type *) &std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -18977,13 +18987,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash arg2 = jarg2; arg3 = *(std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg__doSet(arg1,arg2,(std::vector< libtorrent::digest32< 256 > > const &)*arg3); + result = std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(std::vector< libtorrent::digest32< 256 > > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -18996,7 +19006,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash return 0; } } - *(std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type **)&jresult = new std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type((const std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type &)result); + *(std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type **)&jresult = new std::vector< std::vector< libtorrent::digest32< 256 > > >::value_type(result); return jresult; } @@ -19015,7 +19025,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash_ { try { try { - std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -19083,7 +19093,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha1_1h (void)jarg1_; arg1 = *(std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > > const & is null"); return 0; } { @@ -19213,13 +19223,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha1_1h arg1 = jarg1; arg2 = *(std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > const & is null"); return 0; } { try { try { - result = (std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > > *)new_std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg___SWIG_2(arg1,(std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > const &)*arg2); + result = (std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > > *)new_std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg___SWIG_2(SWIG_STD_MOVE(arg1),(std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -19278,7 +19288,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1u arg1 = *(std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > > **)&jarg1; arg2 = *(std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type const & is null"); return ; } { @@ -19308,13 +19318,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1u arg2 = jarg2; arg3 = *(std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg__doAdd__SWIG_1(arg1,arg2,(std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > const &)*arg3); + std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -19344,7 +19354,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 { try { try { - result = std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg__doRemove(arg1,arg2); + result = std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -19357,7 +19367,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 return 0; } } - *(std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type **)&jresult = new std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type((const std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type &)result); + *(std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type **)&jresult = new std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type(result); return jresult; } @@ -19376,7 +19386,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 { try { try { - result = (std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type *) &std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg__doGet(arg1,arg2); + result = (std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type *) &std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -19409,13 +19419,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 arg2 = jarg2; arg3 = *(std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg__doSet(arg1,arg2,(std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > const &)*arg3); + result = std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -19428,7 +19438,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 return 0; } } - *(std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type **)&jresult = new std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type((const std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type &)result); + *(std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type **)&jresult = new std::vector< std::pair< libtorrent::digest32< 160 >,libtorrent::udp::endpoint > >::value_type(result); return jresult; } @@ -19447,7 +19457,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1u { try { try { - std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_std_pair_Sl_libtorrent_digest32_Sl_160_Sg__Sc_libtorrent_udp_endpoint_Sg__Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -19515,7 +19525,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1address (void)jarg1_; arg1 = *(std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > > const & is null"); return 0; } { @@ -19645,13 +19655,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1address arg1 = jarg1; arg2 = *(std::pair< libtorrent::address,libtorrent::digest32< 160 > > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< libtorrent::address,libtorrent::digest32< 160 > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< libtorrent::address,libtorrent::digest32< 160 > > const & is null"); return 0; } { try { try { - result = (std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > > *)new_std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg___SWIG_2(arg1,(std::pair< libtorrent::address,libtorrent::digest32< 160 > > const &)*arg2); + result = (std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > > *)new_std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg___SWIG_2(SWIG_STD_MOVE(arg1),(std::pair< libtorrent::address,libtorrent::digest32< 160 > > const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -19710,7 +19720,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1sha1 arg1 = *(std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > > **)&jarg1; arg2 = *(std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type const & is null"); return ; } { @@ -19740,13 +19750,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1sha1 arg2 = jarg2; arg3 = *(std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg__doAdd__SWIG_1(arg1,arg2,(std::pair< libtorrent::address,libtorrent::digest32< 160 > > const &)*arg3); + std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(std::pair< libtorrent::address,libtorrent::digest32< 160 > > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -19776,7 +19786,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1sha { try { try { - result = std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg__doRemove(arg1,arg2); + result = std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -19789,7 +19799,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1sha return 0; } } - *(std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type **)&jresult = new std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type((const std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type &)result); + *(std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type **)&jresult = new std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type(result); return jresult; } @@ -19808,7 +19818,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1sha { try { try { - result = (std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type *) &std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg__doGet(arg1,arg2); + result = (std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type *) &std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -19841,13 +19851,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1sha arg2 = jarg2; arg3 = *(std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg__doSet(arg1,arg2,(std::pair< libtorrent::address,libtorrent::digest32< 160 > > const &)*arg3); + result = std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(std::pair< libtorrent::address,libtorrent::digest32< 160 > > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -19860,7 +19870,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1sha return 0; } } - *(std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type **)&jresult = new std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type((const std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type &)result); + *(std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type **)&jresult = new std::vector< std::pair< libtorrent::address,libtorrent::digest32< 160 > > >::value_type(result); return jresult; } @@ -19879,7 +19889,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1sha1 { try { try { - std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_std_pair_Sl_libtorrent_address_Sc_libtorrent_digest32_Sl_160_Sg__Sg__Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -19947,7 +19957,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1byte_1a (void)jarg1_; arg1 = *(std::array< std::int8_t,32 > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::array< std::int8_t,32 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::array< std::int8_t,32 > const & is null"); return 0; } { @@ -20157,7 +20167,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1byte_1a (void)jarg1_; arg1 = *(std::array< std::int8_t,64 > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::array< std::int8_t,64 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::array< std::int8_t,64 > const & is null"); return 0; } { @@ -20367,7 +20377,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1int_1st (void)jarg1_; arg1 = *(std::map< int,std::string > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< int,std::string > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< int,std::string > const & is null"); return 0; } { @@ -20406,7 +20416,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1string_ return 0; } } - *(std::map< int,std::string,std::less< int > >::iterator **)&jresult = new std::map< int,std::string,std::less< int > >::iterator((const std::map< int,std::string,std::less< int > >::iterator &)result); + *(std::map< int,std::string,std::less< int > >::iterator **)&jresult = new std::map< int,std::string,std::less< int > >::iterator(result); return jresult; } @@ -20431,7 +20441,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1stri arg2 = *argp2; { try { - result = (bool)std_map_Sl_int_Sc_std_string_Sg__iterator_isNot((std::map< int,std::string >::iterator const *)arg1,arg2); + result = (bool)std_map_Sl_int_Sc_std_string_Sg__iterator_isNot((std::map< int,std::string >::iterator const *)arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -20616,7 +20626,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1string_ return 0; } } - *(std::map< int,std::string >::iterator **)&jresult = new std::map< int,std::string >::iterator((const std::map< int,std::string >::iterator &)result); + *(std::map< int,std::string >::iterator **)&jresult = new std::map< int,std::string >::iterator(result); return jresult; } @@ -20641,7 +20651,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1string_ return 0; } } - *(std::map< int,std::string >::iterator **)&jresult = new std::map< int,std::string >::iterator((const std::map< int,std::string >::iterator &)result); + *(std::map< int,std::string >::iterator **)&jresult = new std::map< int,std::string >::iterator(result); return jresult; } @@ -20666,7 +20676,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1string_ return 0; } } - *(std::map< int,std::string >::iterator **)&jresult = new std::map< int,std::string >::iterator((const std::map< int,std::string >::iterator &)result); + *(std::map< int,std::string >::iterator **)&jresult = new std::map< int,std::string >::iterator(result); return jresult; } @@ -20783,7 +20793,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1string_1 arg2 = *argp2; { try { - std_map_Sl_int_Sc_std_string_Sg__removeUnchecked(arg1,arg2); + std_map_Sl_int_Sc_std_string_Sg__removeUnchecked(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -20847,7 +20857,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1string_ (void)jarg1_; arg1 = *(std::map< std::string,std::string > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< std::string,std::string > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< std::string,std::string > const & is null"); return 0; } { @@ -20886,7 +20896,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1stri return 0; } } - *(std::map< std::string,std::string,std::less< std::string > >::iterator **)&jresult = new std::map< std::string,std::string,std::less< std::string > >::iterator((const std::map< std::string,std::string,std::less< std::string > >::iterator &)result); + *(std::map< std::string,std::string,std::less< std::string > >::iterator **)&jresult = new std::map< std::string,std::string,std::less< std::string > >::iterator(result); return jresult; } @@ -20911,7 +20921,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1s arg2 = *argp2; { try { - result = (bool)std_map_Sl_std_string_Sc_std_string_Sg__iterator_isNot((std::map< std::string,std::string >::iterator const *)arg1,arg2); + result = (bool)std_map_Sl_std_string_Sc_std_string_Sg__iterator_isNot((std::map< std::string,std::string >::iterator const *)arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -21102,7 +21112,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1stri return 0; } } - *(std::map< std::string,std::string >::iterator **)&jresult = new std::map< std::string,std::string >::iterator((const std::map< std::string,std::string >::iterator &)result); + *(std::map< std::string,std::string >::iterator **)&jresult = new std::map< std::string,std::string >::iterator(result); return jresult; } @@ -21127,7 +21137,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1stri return 0; } } - *(std::map< std::string,std::string >::iterator **)&jresult = new std::map< std::string,std::string >::iterator((const std::map< std::string,std::string >::iterator &)result); + *(std::map< std::string,std::string >::iterator **)&jresult = new std::map< std::string,std::string >::iterator(result); return jresult; } @@ -21152,7 +21162,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1stri return 0; } } - *(std::map< std::string,std::string >::iterator **)&jresult = new std::map< std::string,std::string >::iterator((const std::map< std::string,std::string >::iterator &)result); + *(std::map< std::string,std::string >::iterator **)&jresult = new std::map< std::string,std::string >::iterator(result); return jresult; } @@ -21281,7 +21291,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1strin arg2 = *argp2; { try { - std_map_Sl_std_string_Sc_std_string_Sg__removeUnchecked(arg1,arg2); + std_map_Sl_std_string_Sc_std_string_Sg__removeUnchecked(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -21345,7 +21355,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1int_1bi (void)jarg1_; arg1 = *(std::map< int,libtorrent::bitfield > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< int,libtorrent::bitfield > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< int,libtorrent::bitfield > const & is null"); return 0; } { @@ -21384,7 +21394,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1bitfiel return 0; } } - *(std::map< int,libtorrent::bitfield,std::less< int > >::iterator **)&jresult = new std::map< int,libtorrent::bitfield,std::less< int > >::iterator((const std::map< int,libtorrent::bitfield,std::less< int > >::iterator &)result); + *(std::map< int,libtorrent::bitfield,std::less< int > >::iterator **)&jresult = new std::map< int,libtorrent::bitfield,std::less< int > >::iterator(result); return jresult; } @@ -21409,7 +21419,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1bitf arg2 = *argp2; { try { - result = (bool)std_map_Sl_int_Sc_libtorrent_bitfield_Sg__iterator_isNot((std::map< int,libtorrent::bitfield >::iterator const *)arg1,arg2); + result = (bool)std_map_Sl_int_Sc_libtorrent_bitfield_Sg__iterator_isNot((std::map< int,libtorrent::bitfield >::iterator const *)arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -21468,7 +21478,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1bitfiel return 0; } } - *(libtorrent::bitfield **)&jresult = new libtorrent::bitfield((const libtorrent::bitfield &)result); + *(libtorrent::bitfield **)&jresult = new libtorrent::bitfield(result); return jresult; } @@ -21484,7 +21494,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1bitfield arg1 = *(std::map< int,libtorrent::bitfield >::iterator **)&jarg1; arg2 = *(libtorrent::bitfield **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield const & is null"); return ; } { @@ -21591,7 +21601,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1bitfiel return 0; } } - *(std::map< int,libtorrent::bitfield >::iterator **)&jresult = new std::map< int,libtorrent::bitfield >::iterator((const std::map< int,libtorrent::bitfield >::iterator &)result); + *(std::map< int,libtorrent::bitfield >::iterator **)&jresult = new std::map< int,libtorrent::bitfield >::iterator(result); return jresult; } @@ -21616,7 +21626,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1bitfiel return 0; } } - *(std::map< int,libtorrent::bitfield >::iterator **)&jresult = new std::map< int,libtorrent::bitfield >::iterator((const std::map< int,libtorrent::bitfield >::iterator &)result); + *(std::map< int,libtorrent::bitfield >::iterator **)&jresult = new std::map< int,libtorrent::bitfield >::iterator(result); return jresult; } @@ -21641,7 +21651,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1bitfiel return 0; } } - *(std::map< int,libtorrent::bitfield >::iterator **)&jresult = new std::map< int,libtorrent::bitfield >::iterator((const std::map< int,libtorrent::bitfield >::iterator &)result); + *(std::map< int,libtorrent::bitfield >::iterator **)&jresult = new std::map< int,libtorrent::bitfield >::iterator(result); return jresult; } @@ -21720,7 +21730,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1bitfield arg2 = &temp2; arg3 = *(libtorrent::bitfield **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield const & is null"); return ; } { @@ -21755,7 +21765,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_int_1bitfield arg2 = *argp2; { try { - std_map_Sl_int_Sc_libtorrent_bitfield_Sg__removeUnchecked(arg1,arg2); + std_map_Sl_int_Sc_libtorrent_bitfield_Sg__removeUnchecked(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -21819,7 +21829,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1string_ (void)jarg1_; arg1 = *(std::map< std::string,libtorrent::entry > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< std::string,libtorrent::entry > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< std::string,libtorrent::entry > const & is null"); return 0; } { @@ -21858,7 +21868,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1entr return 0; } } - *(std::map< std::string,libtorrent::entry,std::less< std::string > >::iterator **)&jresult = new std::map< std::string,libtorrent::entry,std::less< std::string > >::iterator((const std::map< std::string,libtorrent::entry,std::less< std::string > >::iterator &)result); + *(std::map< std::string,libtorrent::entry,std::less< std::string > >::iterator **)&jresult = new std::map< std::string,libtorrent::entry,std::less< std::string > >::iterator(result); return jresult; } @@ -21883,7 +21893,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1e arg2 = *argp2; { try { - result = (bool)std_map_Sl_std_string_Sc_libtorrent_entry_Sg__iterator_isNot((std::map< std::string,libtorrent::entry >::iterator const *)arg1,arg2); + result = (bool)std_map_Sl_std_string_Sc_libtorrent_entry_Sg__iterator_isNot((std::map< std::string,libtorrent::entry >::iterator const *)arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -21942,7 +21952,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1entr return 0; } } - *(libtorrent::entry **)&jresult = new libtorrent::entry((const libtorrent::entry &)result); + *(libtorrent::entry **)&jresult = new libtorrent::entry(result); return jresult; } @@ -21958,7 +21968,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1entry arg1 = *(std::map< std::string,libtorrent::entry >::iterator **)&jarg1; arg2 = *(libtorrent::entry **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & is null"); return ; } { @@ -22071,7 +22081,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1entr return 0; } } - *(std::map< std::string,libtorrent::entry >::iterator **)&jresult = new std::map< std::string,libtorrent::entry >::iterator((const std::map< std::string,libtorrent::entry >::iterator &)result); + *(std::map< std::string,libtorrent::entry >::iterator **)&jresult = new std::map< std::string,libtorrent::entry >::iterator(result); return jresult; } @@ -22096,7 +22106,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1entr return 0; } } - *(std::map< std::string,libtorrent::entry >::iterator **)&jresult = new std::map< std::string,libtorrent::entry >::iterator((const std::map< std::string,libtorrent::entry >::iterator &)result); + *(std::map< std::string,libtorrent::entry >::iterator **)&jresult = new std::map< std::string,libtorrent::entry >::iterator(result); return jresult; } @@ -22121,7 +22131,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1entr return 0; } } - *(std::map< std::string,libtorrent::entry >::iterator **)&jresult = new std::map< std::string,libtorrent::entry >::iterator((const std::map< std::string,libtorrent::entry >::iterator &)result); + *(std::map< std::string,libtorrent::entry >::iterator **)&jresult = new std::map< std::string,libtorrent::entry >::iterator(result); return jresult; } @@ -22212,7 +22222,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1entry jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); arg3 = *(libtorrent::entry **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & is null"); return ; } { @@ -22247,7 +22257,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_string_1entry arg2 = *argp2; { try { - std_map_Sl_std_string_Sc_libtorrent_entry_Sg__removeUnchecked(arg1,arg2); + std_map_Sl_std_string_Sc_libtorrent_entry_Sg__removeUnchecked(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -22406,7 +22416,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_boost_1string jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); arg3 = *(libtorrent::entry **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry & is null"); return ; } { @@ -22478,7 +22488,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_boost_1strin return 0; } } - *(std::vector< std::string > **)&jresult = new std::vector< std::string >((const std::vector< std::string > &)result); + *(std::vector< std::string > **)&jresult = new std::vector< std::string >(result); return jresult; } @@ -22721,7 +22731,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bitset_11 arg2 = (std::size_t)jarg2; { try { - result = (bool)std_bitset_Sl_128_Sg__get(arg1,arg2); + result = (bool)std_bitset_Sl_128_Sg__get(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -23062,7 +23072,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_byte_1span_1 return 0; } } - *(libtorrent::span< std::int8_t const > **)&jresult = new libtorrent::span< std::int8_t const >((const libtorrent::span< std::int8_t const > &)result); + *(libtorrent::span< std::int8_t const > **)&jresult = new libtorrent::span< std::int8_t const >(result); return jresult; } @@ -23089,7 +23099,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_byte_1span_1 return 0; } } - *(libtorrent::span< std::int8_t const > **)&jresult = new libtorrent::span< std::int8_t const >((const libtorrent::span< std::int8_t const > &)result); + *(libtorrent::span< std::int8_t const > **)&jresult = new libtorrent::span< std::int8_t const >(result); return jresult; } @@ -23116,7 +23126,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_byte_1span_1 return 0; } } - *(libtorrent::span< std::int8_t const > **)&jresult = new libtorrent::span< std::int8_t const >((const libtorrent::span< std::int8_t const > &)result); + *(libtorrent::span< std::int8_t const > **)&jresult = new libtorrent::span< std::int8_t const >(result); return jresult; } @@ -23145,7 +23155,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_byte_1span_1 return 0; } } - *(libtorrent::span< std::int8_t const > **)&jresult = new libtorrent::span< std::int8_t const >((const libtorrent::span< std::int8_t const > &)result); + *(libtorrent::span< std::int8_t const > **)&jresult = new libtorrent::span< std::int8_t const >(result); return jresult; } @@ -23229,7 +23239,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1address (void)jarg1_; arg1 = *(libtorrent::address **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & is null"); return 0; } { @@ -23411,7 +23421,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1 arg1 = *(libtorrent::address **)&jarg1; arg2 = *(libtorrent::address **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & is null"); return 0; } { @@ -23442,12 +23452,12 @@ SWIGEXPORT jint JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1comp (void)jarg2_; arg1 = *(libtorrent::address **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & is null"); return 0; } arg2 = *(libtorrent::address **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & is null"); return 0; } { @@ -23486,7 +23496,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1fro jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); arg2 = *(boost::system::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "boost::system::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "boost::system::error_code & is null"); return 0; } { @@ -23500,7 +23510,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_address_1fro return 0; } } - *(libtorrent::address **)&jresult = new libtorrent::address((const libtorrent::address &)result); + *(libtorrent::address **)&jresult = new libtorrent::address(result); return jresult; } @@ -23615,7 +23625,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1tcp_1en (void)jarg1_; arg1 = *(libtorrent::tcp::endpoint **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & is null"); return 0; } { @@ -23679,7 +23689,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tcp_1endpoin return 0; } } - *(libtorrent::address **)&jresult = new libtorrent::address((const libtorrent::address &)result); + *(libtorrent::address **)&jresult = new libtorrent::address(result); return jresult; } @@ -23769,7 +23779,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1udp_1en (void)jarg1_; arg1 = *(libtorrent::udp::endpoint **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & is null"); return 0; } { @@ -23833,7 +23843,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_udp_1endpoin return 0; } } - *(libtorrent::address **)&jresult = new libtorrent::address((const libtorrent::address &)result); + *(libtorrent::address **)&jresult = new libtorrent::address(result); return jresult; } @@ -24153,7 +24163,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha1_1h (void)jarg1_; arg1 = *(libtorrent::digest32< 160 > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & is null"); return 0; } { @@ -24189,7 +24199,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 return 0; } } - *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >((const libtorrent::digest32< 160 > &)result); + *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >(result); return jresult; } @@ -24211,7 +24221,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 return 0; } } - *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >((const libtorrent::digest32< 160 > &)result); + *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >(result); return jresult; } @@ -24275,7 +24285,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1has arg1 = *(libtorrent::digest32< 160 > **)&jarg1; arg2 = *(libtorrent::digest32< 160 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & is null"); return 0; } { @@ -24307,7 +24317,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1has arg1 = *(libtorrent::digest32< 160 > **)&jarg1; arg2 = *(libtorrent::digest32< 160 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & is null"); return 0; } { @@ -24339,7 +24349,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1has arg1 = *(libtorrent::digest32< 160 > **)&jarg1; arg2 = *(libtorrent::digest32< 160 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & is null"); return 0; } { @@ -24403,7 +24413,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 return 0; } } - *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >((const libtorrent::digest32< 160 > &)result); + *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >(result); return jresult; } @@ -24421,7 +24431,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 arg1 = *(libtorrent::digest32< 160 > **)&jarg1; arg2 = *(libtorrent::digest32< 160 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & is null"); return 0; } { @@ -24435,7 +24445,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 return 0; } } - *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >((const libtorrent::digest32< 160 > &)result); + *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >(result); return jresult; } @@ -24453,7 +24463,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 arg1 = *(libtorrent::digest32< 160 > **)&jarg1; arg2 = *(libtorrent::digest32< 160 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & is null"); return 0; } { @@ -24467,7 +24477,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 return 0; } } - *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >((const libtorrent::digest32< 160 > &)result); + *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >(result); return jresult; } @@ -24482,7 +24492,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha1_1h (void)jarg1_; arg1 = *(std::vector< std::int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return 0; } { @@ -24512,7 +24522,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1a arg1 = *(libtorrent::digest32< 160 > **)&jarg1; arg2 = *(std::vector< std::int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return ; } { @@ -24574,7 +24584,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -24621,7 +24631,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); { try { - result = libtorrent_digest32_Sl_160_Sg__from_hex(arg1); + result = libtorrent_digest32_Sl_160_Sg__from_hex(SWIG_STD_MOVE(arg1)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -24630,7 +24640,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 return 0; } } - *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >((const libtorrent::digest32< 160 > &)result); + *(libtorrent::digest32< 160 > **)&jresult = new libtorrent::digest32< 160 >(result); return jresult; } @@ -24647,12 +24657,12 @@ SWIGEXPORT jint JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1c (void)jarg2_; arg1 = *(libtorrent::digest32< 160 > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & is null"); return 0; } arg2 = *(libtorrent::digest32< 160 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & is null"); return 0; } { @@ -24745,7 +24755,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha256_ (void)jarg1_; arg1 = *(libtorrent::digest32< 256 > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & is null"); return 0; } { @@ -24781,7 +24791,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash return 0; } } - *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >((const libtorrent::digest32< 256 > &)result); + *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >(result); return jresult; } @@ -24803,7 +24813,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash return 0; } } - *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >((const libtorrent::digest32< 256 > &)result); + *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >(result); return jresult; } @@ -24867,7 +24877,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1h arg1 = *(libtorrent::digest32< 256 > **)&jarg1; arg2 = *(libtorrent::digest32< 256 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & is null"); return 0; } { @@ -24899,7 +24909,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1h arg1 = *(libtorrent::digest32< 256 > **)&jarg1; arg2 = *(libtorrent::digest32< 256 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & is null"); return 0; } { @@ -24931,7 +24941,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1h arg1 = *(libtorrent::digest32< 256 > **)&jarg1; arg2 = *(libtorrent::digest32< 256 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & is null"); return 0; } { @@ -24995,7 +25005,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash return 0; } } - *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >((const libtorrent::digest32< 256 > &)result); + *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >(result); return jresult; } @@ -25013,7 +25023,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash arg1 = *(libtorrent::digest32< 256 > **)&jarg1; arg2 = *(libtorrent::digest32< 256 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & is null"); return 0; } { @@ -25027,7 +25037,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash return 0; } } - *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >((const libtorrent::digest32< 256 > &)result); + *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >(result); return jresult; } @@ -25045,7 +25055,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash arg1 = *(libtorrent::digest32< 256 > **)&jarg1; arg2 = *(libtorrent::digest32< 256 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & is null"); return 0; } { @@ -25059,7 +25069,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash return 0; } } - *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >((const libtorrent::digest32< 256 > &)result); + *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >(result); return jresult; } @@ -25074,7 +25084,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha256_ (void)jarg1_; arg1 = *(std::vector< std::int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return 0; } { @@ -25104,7 +25114,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash_ arg1 = *(libtorrent::digest32< 256 > **)&jarg1; arg2 = *(std::vector< std::int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return ; } { @@ -25166,7 +25176,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -25213,7 +25223,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); { try { - result = libtorrent_digest32_Sl_256_Sg__from_hex(arg1); + result = libtorrent_digest32_Sl_256_Sg__from_hex(SWIG_STD_MOVE(arg1)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -25222,7 +25232,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash return 0; } } - *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >((const libtorrent::digest32< 256 > &)result); + *(libtorrent::digest32< 256 > **)&jresult = new libtorrent::digest32< 256 >(result); return jresult; } @@ -25239,12 +25249,12 @@ SWIGEXPORT jint JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash_ (void)jarg2_; arg1 = *(libtorrent::digest32< 256 > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & is null"); return 0; } arg2 = *(libtorrent::digest32< 256 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & is null"); return 0; } { @@ -25315,7 +25325,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha1_1h (void)jarg1_; arg1 = *(std::vector< libtorrent::digest32< 160 > > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 160 > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 160 > > const & is null"); return 0; } { @@ -25445,13 +25455,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha1_1h arg1 = jarg1; arg2 = *(libtorrent::digest32< 160 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 160 > const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::digest32< 160 > > *)new_std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg___SWIG_2(arg1,(libtorrent::digest32< 160 > const &)*arg2); + result = (std::vector< libtorrent::digest32< 160 > > *)new_std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::digest32< 160 > const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -25510,7 +25520,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1v arg1 = *(std::vector< libtorrent::digest32< 160 > > **)&jarg1; arg2 = *(std::vector< libtorrent::digest32< 160 > >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 160 > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 160 > >::value_type const & is null"); return ; } { @@ -25540,13 +25550,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1v arg2 = jarg2; arg3 = *(std::vector< libtorrent::digest32< 160 > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 160 > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 160 > >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::digest32< 160 > const &)*arg3); + std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::digest32< 160 > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -25576,7 +25586,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 { try { try { - result = std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -25589,7 +25599,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 return 0; } } - *(std::vector< libtorrent::digest32< 160 > >::value_type **)&jresult = new std::vector< libtorrent::digest32< 160 > >::value_type((const std::vector< libtorrent::digest32< 160 > >::value_type &)result); + *(std::vector< libtorrent::digest32< 160 > >::value_type **)&jresult = new std::vector< libtorrent::digest32< 160 > >::value_type(result); return jresult; } @@ -25608,7 +25618,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 { try { try { - result = (std::vector< libtorrent::digest32< 160 > >::value_type *) &std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::digest32< 160 > >::value_type *) &std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -25641,13 +25651,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 arg2 = jarg2; arg3 = *(std::vector< libtorrent::digest32< 160 > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 160 > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 160 > >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg__doSet(arg1,arg2,(libtorrent::digest32< 160 > const &)*arg3); + result = std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::digest32< 160 > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -25660,7 +25670,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1 return 0; } } - *(std::vector< libtorrent::digest32< 160 > >::value_type **)&jresult = new std::vector< libtorrent::digest32< 160 > >::value_type((const std::vector< libtorrent::digest32< 160 > >::value_type &)result); + *(std::vector< libtorrent::digest32< 160 > >::value_type **)&jresult = new std::vector< libtorrent::digest32< 160 > >::value_type(result); return jresult; } @@ -25679,7 +25689,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha1_1hash_1v { try { try { - std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_digest32_Sl_160_Sg__Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -25747,7 +25757,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha256_ (void)jarg1_; arg1 = *(std::vector< libtorrent::digest32< 256 > > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 256 > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 256 > > const & is null"); return 0; } { @@ -25877,13 +25887,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1sha256_ arg1 = jarg1; arg2 = *(libtorrent::digest32< 256 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::digest32< 256 > const & is null"); return 0; } { try { try { - result = (std::vector< libtorrent::digest32< 256 > > *)new_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg___SWIG_2(arg1,(libtorrent::digest32< 256 > const &)*arg2); + result = (std::vector< libtorrent::digest32< 256 > > *)new_std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg___SWIG_2(SWIG_STD_MOVE(arg1),(libtorrent::digest32< 256 > const &)*arg2); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -25942,7 +25952,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash_ arg1 = *(std::vector< libtorrent::digest32< 256 > > **)&jarg1; arg2 = *(std::vector< libtorrent::digest32< 256 > >::value_type **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 256 > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 256 > >::value_type const & is null"); return ; } { @@ -25972,13 +25982,13 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash_ arg2 = jarg2; arg3 = *(std::vector< libtorrent::digest32< 256 > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 256 > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 256 > >::value_type const & is null"); return ; } { try { try { - std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__doAdd__SWIG_1(arg1,arg2,(libtorrent::digest32< 256 > const &)*arg3); + std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__doAdd__SWIG_1(arg1,SWIG_STD_MOVE(arg2),(libtorrent::digest32< 256 > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -26008,7 +26018,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash { try { try { - result = std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__doRemove(arg1,arg2); + result = std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__doRemove(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -26021,7 +26031,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash return 0; } } - *(std::vector< libtorrent::digest32< 256 > >::value_type **)&jresult = new std::vector< libtorrent::digest32< 256 > >::value_type((const std::vector< libtorrent::digest32< 256 > >::value_type &)result); + *(std::vector< libtorrent::digest32< 256 > >::value_type **)&jresult = new std::vector< libtorrent::digest32< 256 > >::value_type(result); return jresult; } @@ -26040,7 +26050,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash { try { try { - result = (std::vector< libtorrent::digest32< 256 > >::value_type *) &std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__doGet(arg1,arg2); + result = (std::vector< libtorrent::digest32< 256 > >::value_type *) &std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__doGet(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -26073,13 +26083,13 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash arg2 = jarg2; arg3 = *(std::vector< libtorrent::digest32< 256 > >::value_type **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 256 > >::value_type const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::digest32< 256 > >::value_type const & is null"); return 0; } { try { try { - result = std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__doSet(arg1,arg2,(libtorrent::digest32< 256 > const &)*arg3); + result = std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__doSet(arg1,SWIG_STD_MOVE(arg2),(libtorrent::digest32< 256 > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return 0; @@ -26092,7 +26102,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash return 0; } } - *(std::vector< libtorrent::digest32< 256 > >::value_type **)&jresult = new std::vector< libtorrent::digest32< 256 > >::value_type((const std::vector< libtorrent::digest32< 256 > >::value_type &)result); + *(std::vector< libtorrent::digest32< 256 > >::value_type **)&jresult = new std::vector< libtorrent::digest32< 256 > >::value_type(result); return jresult; } @@ -26111,7 +26121,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_sha256_1hash_ { try { try { - std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__doRemoveRange(arg1,arg2,arg3); + std_vector_Sl_libtorrent_digest32_Sl_256_Sg__Sg__doRemoveRange(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what()); return ; @@ -26293,7 +26303,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1info_1h (void)jarg1_; arg1 = *(libtorrent::info_hash_t **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & is null"); return 0; } { @@ -26411,7 +26421,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_info_1hash_1 return 0; } } - *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash((const libtorrent::sha1_hash &)result); + *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash(result); return jresult; } @@ -26436,7 +26446,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_info_1hash_1 return 0; } } - *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash((const libtorrent::sha1_hash &)result); + *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash(result); return jresult; } @@ -26453,12 +26463,12 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ne(JNIEnv (void)jarg2_; arg1 = *(libtorrent::info_hash_t **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & is null"); return 0; } arg2 = *(libtorrent::info_hash_t **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & is null"); return 0; } { @@ -26489,12 +26499,12 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_eq(JNIEnv (void)jarg2_; arg1 = *(libtorrent::info_hash_t **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & is null"); return 0; } arg2 = *(libtorrent::info_hash_t **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & is null"); return 0; } { @@ -26526,7 +26536,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_info_1has arg1 = *(libtorrent::info_hash_t **)&jarg1; arg2 = *(libtorrent::info_hash_t **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & is null"); return 0; } { @@ -26616,7 +26626,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_info_1has arg1 = *(libtorrent::info_hash_t **)&jarg1; arg2 = *(libtorrent::info_hash_t **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & is null"); return 0; } { @@ -26648,7 +26658,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_info_1has arg1 = *(libtorrent::info_hash_t **)&jarg1; arg2 = *(libtorrent::info_hash_t **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & is null"); return 0; } { @@ -26769,7 +26779,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1bitfiel (void)jarg1_; arg1 = *(libtorrent::bitfield **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield const & is null"); return 0; } { @@ -27024,7 +27034,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bitfield_1swa arg1 = *(libtorrent::bitfield **)&jarg1; arg2 = *(libtorrent::bitfield **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield & is null"); return ; } { @@ -27237,7 +27247,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1bitfiel (void)jarg1_; arg1 = *(std::vector< std::int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return 0; } { @@ -27267,7 +27277,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bitfield_1ass arg1 = *(libtorrent::bitfield **)&jarg1; arg2 = *(std::vector< std::int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return ; } { @@ -28613,7 +28623,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en return 0; } } - *(libtorrent::announce_infohash **)&jresult = new libtorrent::announce_infohash((const libtorrent::announce_infohash &)result); + *(libtorrent::announce_infohash **)&jresult = new libtorrent::announce_infohash(result); return jresult; } @@ -28638,7 +28648,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_announce_1en return 0; } } - *(libtorrent::announce_infohash **)&jresult = new libtorrent::announce_infohash((const libtorrent::announce_infohash &)result); + *(libtorrent::announce_infohash **)&jresult = new libtorrent::announce_infohash(result); return jresult; } @@ -28715,7 +28725,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1announc (void)jarg1_; arg1 = *(libtorrent::announce_entry **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::announce_entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::announce_entry const & is null"); return 0; } { @@ -29012,7 +29022,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1announc jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); { try { - result = (libtorrent::announce_entry *)new_libtorrent_announce_entry__SWIG_2(arg1); + result = (libtorrent::announce_entry *)new_libtorrent_announce_entry__SWIG_2(SWIG_STD_MOVE(arg1)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -29208,7 +29218,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1file_1s (void)jarg1_; arg1 = *(libtorrent::file_storage **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::file_storage const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::file_storage const & is null"); return 0; } { @@ -29362,7 +29372,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storag return 0; } } - *(std::vector< libtorrent::file_slice > **)&jresult = new std::vector< libtorrent::file_slice >((const std::vector< libtorrent::file_slice > &)result); + *(std::vector< libtorrent::file_slice > **)&jresult = new std::vector< libtorrent::file_slice >(result); return jresult; } @@ -29395,7 +29405,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storag return 0; } } - *(libtorrent::peer_request **)&jresult = new libtorrent::peer_request((const libtorrent::peer_request &)result); + *(libtorrent::peer_request **)&jresult = new libtorrent::peer_request(result); return jresult; } @@ -29831,7 +29841,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storage arg1 = *(libtorrent::file_storage **)&jarg1; arg2 = *(libtorrent::file_storage **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::file_storage & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::file_storage & is null"); return ; } { @@ -29872,7 +29882,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storag return 0; } } - *(libtorrent::sha256_hash **)&jresult = new libtorrent::sha256_hash((const libtorrent::sha256_hash &)result); + *(libtorrent::sha256_hash **)&jresult = new libtorrent::sha256_hash(result); return jresult; } @@ -30307,7 +30317,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storag return 0; } } - *(libtorrent::file_flags_t **)&jresult = new libtorrent::file_flags_t((const libtorrent::file_flags_t &)result); + *(libtorrent::file_flags_t **)&jresult = new libtorrent::file_flags_t(result); return jresult; } @@ -30445,7 +30455,7 @@ SWIGEXPORT int JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storage_ arg1 = *(libtorrent::file_storage **)&jarg1; arg2 = *(libtorrent::sha256_hash **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha256_hash const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha256_hash const & is null"); return 0; } { @@ -30592,7 +30602,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storage arg1 = *(libtorrent::file_storage **)&jarg1; arg2 = *(libtorrent::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return ; } if(!jarg3) { @@ -30622,7 +30632,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storage jenv->ReleaseStringUTFChars(jarg7, arg7_pstr); { try { - libtorrent_file_storage_add_file_ex__SWIG_0(arg1,*arg2,(std::string const &)*arg3,arg4,arg5,arg6,arg7); + libtorrent_file_storage_add_file_ex__SWIG_0(arg1,*arg2,(std::string const &)*arg3,arg4,SWIG_STD_MOVE(arg5),SWIG_STD_MOVE(arg6),SWIG_STD_MOVE(arg7)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -30651,7 +30661,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storage arg1 = *(libtorrent::file_storage **)&jarg1; arg2 = *(libtorrent::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return ; } if(!jarg3) { @@ -30673,7 +30683,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storage arg6 = (std::time_t)jarg6; { try { - libtorrent_file_storage_add_file_ex__SWIG_0(arg1,*arg2,(std::string const &)*arg3,arg4,arg5,arg6); + libtorrent_file_storage_add_file_ex__SWIG_0(arg1,*arg2,(std::string const &)*arg3,arg4,SWIG_STD_MOVE(arg5),SWIG_STD_MOVE(arg6)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -30701,7 +30711,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storage arg1 = *(libtorrent::file_storage **)&jarg1; arg2 = *(libtorrent::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return ; } if(!jarg3) { @@ -30722,7 +30732,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storage arg5 = *argp5; { try { - libtorrent_file_storage_add_file_ex__SWIG_0(arg1,*arg2,(std::string const &)*arg3,arg4,arg5); + libtorrent_file_storage_add_file_ex__SWIG_0(arg1,*arg2,(std::string const &)*arg3,arg4,SWIG_STD_MOVE(arg5)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -30747,7 +30757,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1storage arg1 = *(libtorrent::file_storage **)&jarg1; arg2 = *(libtorrent::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return ; } if(!jarg3) { @@ -30840,7 +30850,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >(result); return jresult; } @@ -30890,7 +30900,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1fla arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -30924,7 +30934,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1fla arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -30958,7 +30968,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1flags_ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -30967,7 +30977,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >(result); return jresult; } @@ -30992,7 +31002,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1flags_ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -31001,7 +31011,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >(result); return jresult; } @@ -31026,7 +31036,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1flags_ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -31035,7 +31045,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >(result); return jresult; } @@ -31060,7 +31070,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >(result); return jresult; } @@ -31109,7 +31119,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_flags_tag >(result); return jresult; } @@ -31235,7 +31245,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1req arg1 = *(libtorrent::peer_request **)&jarg1; arg2 = *(libtorrent::peer_request **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::peer_request const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::peer_request const & is null"); return 0; } { @@ -31350,7 +31360,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1bdecode (void)jarg1_; arg1 = *(libtorrent::bdecode_node **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & is null"); return 0; } { @@ -31466,7 +31476,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod return 0; } } - *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node((const libtorrent::bdecode_node &)result); + *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node(result); return jresult; } @@ -31574,7 +31584,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod return 0; } } - *(std::pair< libtorrent::bdecode_node,libtorrent::bdecode_node > **)&jresult = new std::pair< libtorrent::bdecode_node,libtorrent::bdecode_node >((const std::pair< libtorrent::bdecode_node,libtorrent::bdecode_node > &)result); + *(std::pair< libtorrent::bdecode_node,libtorrent::bdecode_node > **)&jresult = new std::pair< libtorrent::bdecode_node,libtorrent::bdecode_node >(result); return jresult; } @@ -31722,7 +31732,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1n jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); { try { - result = libtorrent_bdecode_node_list_string_value_at_ex__SWIG_0(arg1,arg2,arg3); + result = libtorrent_bdecode_node_list_string_value_at_ex__SWIG_0(arg1,arg2,SWIG_STD_MOVE(arg3)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -31783,7 +31793,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); { try { - result = libtorrent_bdecode_node_dict_find_ex((libtorrent::bdecode_node const *)arg1,arg2); + result = libtorrent_bdecode_node_dict_find_ex((libtorrent::bdecode_node const *)arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -31792,7 +31802,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod return 0; } } - *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node((const libtorrent::bdecode_node &)result); + *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node(result); return jresult; } @@ -31817,7 +31827,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); { try { - result = libtorrent_bdecode_node_dict_find_dict_ex((libtorrent::bdecode_node const *)arg1,arg2); + result = libtorrent_bdecode_node_dict_find_dict_ex((libtorrent::bdecode_node const *)arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -31826,7 +31836,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod return 0; } } - *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node((const libtorrent::bdecode_node &)result); + *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node(result); return jresult; } @@ -31851,7 +31861,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); { try { - result = libtorrent_bdecode_node_dict_find_list_ex((libtorrent::bdecode_node const *)arg1,arg2); + result = libtorrent_bdecode_node_dict_find_list_ex((libtorrent::bdecode_node const *)arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -31860,7 +31870,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod return 0; } } - *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node((const libtorrent::bdecode_node &)result); + *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node(result); return jresult; } @@ -31885,7 +31895,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); { try { - result = libtorrent_bdecode_node_dict_find_string_ex((libtorrent::bdecode_node const *)arg1,arg2); + result = libtorrent_bdecode_node_dict_find_string_ex((libtorrent::bdecode_node const *)arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -31894,7 +31904,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod return 0; } } - *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node((const libtorrent::bdecode_node &)result); + *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node(result); return jresult; } @@ -31919,7 +31929,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); { try { - result = libtorrent_bdecode_node_dict_find_int_ex((libtorrent::bdecode_node const *)arg1,arg2); + result = libtorrent_bdecode_node_dict_find_int_ex((libtorrent::bdecode_node const *)arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -31928,7 +31938,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod return 0; } } - *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node((const libtorrent::bdecode_node &)result); + *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node(result); return jresult; } @@ -31962,7 +31972,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1n jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); { try { - result = libtorrent_bdecode_node_dict_find_string_value_ex__SWIG_0((libtorrent::bdecode_node const *)arg1,arg2,arg3); + result = libtorrent_bdecode_node_dict_find_string_value_ex__SWIG_0((libtorrent::bdecode_node const *)arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -31996,7 +32006,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1n jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); { try { - result = libtorrent_bdecode_node_dict_find_string_value_ex__SWIG_0((libtorrent::bdecode_node const *)arg1,arg2); + result = libtorrent_bdecode_node_dict_find_string_value_ex__SWIG_0((libtorrent::bdecode_node const *)arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -32032,7 +32042,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod arg3 = (std::int64_t)jarg3; { try { - result = (std::int64_t)libtorrent_bdecode_node_dict_find_int_value_ex__SWIG_0((libtorrent::bdecode_node const *)arg1,arg2,arg3); + result = (std::int64_t)libtorrent_bdecode_node_dict_find_int_value_ex__SWIG_0((libtorrent::bdecode_node const *)arg1,SWIG_STD_MOVE(arg2),arg3); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -32066,7 +32076,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1nod jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); { try { - result = (std::int64_t)libtorrent_bdecode_node_dict_find_int_value_ex__SWIG_0((libtorrent::bdecode_node const *)arg1,arg2); + result = (std::int64_t)libtorrent_bdecode_node_dict_find_int_value_ex__SWIG_0((libtorrent::bdecode_node const *)arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -32117,7 +32127,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1n (void)jarg1_; arg1 = *(libtorrent::bdecode_node **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & is null"); return 0; } arg2 = jarg2 ? true : false; @@ -32152,17 +32162,17 @@ SWIGEXPORT jint JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bdecode_1node (void)jarg3_; arg1 = *(std::vector< std::int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > & is null"); return 0; } arg2 = *(libtorrent::bdecode_node **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node & is null"); return 0; } arg3 = *(libtorrent::error_code **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return 0; } { @@ -32213,7 +32223,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_print_1ent (void)jarg1_; arg1 = *(libtorrent::bdecode_node **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & is null"); return 0; } arg2 = jarg2 ? true : false; @@ -32245,7 +32255,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_print_1ent (void)jarg1_; arg1 = *(libtorrent::bdecode_node **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & is null"); return 0; } arg2 = jarg2 ? true : false; @@ -32275,7 +32285,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_print_1ent (void)jarg1_; arg1 = *(libtorrent::bdecode_node **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & is null"); return 0; } { @@ -32486,7 +32496,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1torrent (void)jarg1_; arg1 = *(libtorrent::torrent_info **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_info const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_info const & is null"); return 0; } { @@ -32515,7 +32525,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1torrent (void)jarg1_; arg1 = *(libtorrent::info_hash_t **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::info_hash_t const & is null"); return 0; } { @@ -32546,12 +32556,12 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1torrent (void)jarg2_; arg1 = *(libtorrent::bdecode_node **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & is null"); return 0; } arg2 = *(libtorrent::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return 0; } { @@ -32590,7 +32600,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1torrent jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); arg2 = *(libtorrent::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return 0; } { @@ -32725,7 +32735,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1info arg1 = *(libtorrent::torrent_info **)&jarg1; arg2 = *(libtorrent::file_storage **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::file_storage const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::file_storage const & is null"); return ; } { @@ -32787,7 +32797,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1inf return 0; } } - *(std::vector< libtorrent::sha1_hash > **)&jresult = new std::vector< libtorrent::sha1_hash >((const std::vector< libtorrent::sha1_hash > &)result); + *(std::vector< libtorrent::sha1_hash > **)&jresult = new std::vector< libtorrent::sha1_hash >(result); return jresult; } @@ -32812,7 +32822,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1inf return 0; } } - *(std::vector< std::string > **)&jresult = new std::vector< std::string >((const std::vector< std::string > &)result); + *(std::vector< std::string > **)&jresult = new std::vector< std::string >(result); return jresult; } @@ -33016,7 +33026,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1inf return 0; } } - *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash((const libtorrent::sha1_hash &)result); + *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash(result); return jresult; } @@ -33149,7 +33159,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1inf return 0; } } - *(std::vector< libtorrent::file_slice > **)&jresult = new std::vector< libtorrent::file_slice >((const std::vector< libtorrent::file_slice > &)result); + *(std::vector< libtorrent::file_slice > **)&jresult = new std::vector< libtorrent::file_slice >(result); return jresult; } @@ -33182,7 +33192,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1inf return 0; } } - *(libtorrent::peer_request **)&jresult = new libtorrent::peer_request((const libtorrent::peer_request &)result); + *(libtorrent::peer_request **)&jresult = new libtorrent::peer_request(result); return jresult; } @@ -33315,7 +33325,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1inf return 0; } } - *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash((const libtorrent::sha1_hash &)result); + *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash(result); return jresult; } @@ -33481,7 +33491,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1info arg1 = *(libtorrent::torrent_info **)&jarg1; arg2 = *(std::pair< std::string,int > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,int > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,int > const & is null"); return ; } { @@ -33524,7 +33534,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1inf return 0; } } - *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node((const libtorrent::bdecode_node &)result); + *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node(result); if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); return jresult; } @@ -33565,7 +33575,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1torrent arg2 = (int)jarg2; arg3 = *(libtorrent::error_code **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return 0; } { @@ -33604,7 +33614,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1inf return 0; } } - *(libtorrent::span< std::int8_t const > **)&jresult = new libtorrent::span< std::int8_t const >((const libtorrent::span< std::int8_t const > &)result); + *(libtorrent::span< std::int8_t const > **)&jresult = new libtorrent::span< std::int8_t const >(result); return jresult; } @@ -33888,7 +33898,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >(result); return jresult; } @@ -33938,7 +33948,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1 arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torrent_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torrent_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -33972,7 +33982,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1 arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torrent_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torrent_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -34006,7 +34016,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1fla arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torrent_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torrent_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -34015,7 +34025,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >(result); return jresult; } @@ -34040,7 +34050,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1fla arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torrent_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torrent_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -34049,7 +34059,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >(result); return jresult; } @@ -34074,7 +34084,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1fla arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torrent_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint64_t_Sc_libtorrent_torrent_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -34083,7 +34093,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >(result); return jresult; } @@ -34108,7 +34118,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >(result); return jresult; } @@ -34157,7 +34167,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint64_t,libtorrent::torrent_flags_tag >(result); return jresult; } @@ -34227,6 +34237,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_delete_1add_1 SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1add_1torrent_1params_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { jlong jresult = 0 ; libtorrent::add_torrent_params *arg1 = 0 ; + std::unique_ptr< libtorrent::add_torrent_params > rvrdeleter1 ; libtorrent::add_torrent_params *result = 0 ; (void)jenv; @@ -34234,9 +34245,10 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1add_1to (void)jarg1_; arg1 = *(libtorrent::add_torrent_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params && reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params && is null"); return 0; - } + } + rvrdeleter1.reset(arg1); { try { result = (libtorrent::add_torrent_params *)new libtorrent::add_torrent_params((libtorrent::add_torrent_params &&)*arg1); @@ -35290,7 +35302,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent_ arg1 = *(libtorrent::add_torrent_params **)&jarg1; arg2 = *(libtorrent::torrent_info **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_info const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_info const & is null"); return ; } { @@ -35327,7 +35339,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -35343,7 +35355,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent_ arg1 = *(libtorrent::add_torrent_params **)&jarg1; arg2 = *(std::vector< std::int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > & is null"); return ; } { @@ -35380,7 +35392,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -35396,7 +35408,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent_ arg1 = *(libtorrent::add_torrent_params **)&jarg1; arg2 = *(std::vector< std::int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > & is null"); return ; } { @@ -35433,7 +35445,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent return 0; } } - *(std::vector< std::vector< libtorrent::sha256_hash > > **)&jresult = new std::vector< std::vector< libtorrent::sha256_hash > >((const std::vector< std::vector< libtorrent::sha256_hash > > &)result); + *(std::vector< std::vector< libtorrent::sha256_hash > > **)&jresult = new std::vector< std::vector< libtorrent::sha256_hash > >(result); return jresult; } @@ -35449,7 +35461,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent_ arg1 = *(libtorrent::add_torrent_params **)&jarg1; arg2 = *(std::vector< std::vector< libtorrent::sha256_hash > > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< libtorrent::sha256_hash > > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::vector< libtorrent::sha256_hash > > & is null"); return ; } { @@ -35486,7 +35498,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent return 0; } } - *(std::vector< libtorrent::bitfield > **)&jresult = new std::vector< libtorrent::bitfield >((const std::vector< libtorrent::bitfield > &)result); + *(std::vector< libtorrent::bitfield > **)&jresult = new std::vector< libtorrent::bitfield >(result); return jresult; } @@ -35502,7 +35514,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent_ arg1 = *(libtorrent::add_torrent_params **)&jarg1; arg2 = *(std::vector< libtorrent::bitfield > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield > & is null"); return ; } { @@ -35539,7 +35551,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent return 0; } } - *(std::vector< libtorrent::bitfield > **)&jresult = new std::vector< libtorrent::bitfield >((const std::vector< libtorrent::bitfield > &)result); + *(std::vector< libtorrent::bitfield > **)&jresult = new std::vector< libtorrent::bitfield >(result); return jresult; } @@ -35555,7 +35567,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent_ arg1 = *(libtorrent::add_torrent_params **)&jarg1; arg2 = *(std::vector< libtorrent::bitfield > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::bitfield > & is null"); return ; } { @@ -35592,7 +35604,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent return 0; } } - *(std::map< int,libtorrent::bitfield,std::less< int > > **)&jresult = new std::map< int,libtorrent::bitfield,std::less< int > >((const std::map< int,libtorrent::bitfield,std::less< int > > &)result); + *(std::map< int,libtorrent::bitfield,std::less< int > > **)&jresult = new std::map< int,libtorrent::bitfield,std::less< int > >(result); return jresult; } @@ -35608,7 +35620,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent_ arg1 = *(libtorrent::add_torrent_params **)&jarg1; arg2 = *(std::map< int,libtorrent::bitfield,std::less< int > > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< int,libtorrent::bitfield,std::less< int > > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< int,libtorrent::bitfield,std::less< int > > & is null"); return ; } { @@ -35645,7 +35657,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent return 0; } } - *(std::map< int,std::string,std::less< int > > **)&jresult = new std::map< int,std::string,std::less< int > >((const std::map< int,std::string,std::less< int > > &)result); + *(std::map< int,std::string,std::less< int > > **)&jresult = new std::map< int,std::string,std::less< int > >(result); return jresult; } @@ -35661,7 +35673,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent_ arg1 = *(libtorrent::add_torrent_params **)&jarg1; arg2 = *(std::map< int,std::string,std::less< int > > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< int,std::string,std::less< int > > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< int,std::string,std::less< int > > & is null"); return ; } { @@ -35698,7 +35710,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent return 0; } } - *(libtorrent::bitfield **)&jresult = new libtorrent::bitfield((const libtorrent::bitfield &)result); + *(libtorrent::bitfield **)&jresult = new libtorrent::bitfield(result); return jresult; } @@ -35714,7 +35726,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent_ arg1 = *(libtorrent::add_torrent_params **)&jarg1; arg2 = *(libtorrent::bitfield **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield & is null"); return ; } { @@ -35751,7 +35763,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent return 0; } } - *(libtorrent::bitfield **)&jresult = new libtorrent::bitfield((const libtorrent::bitfield &)result); + *(libtorrent::bitfield **)&jresult = new libtorrent::bitfield(result); return jresult; } @@ -35767,7 +35779,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent_ arg1 = *(libtorrent::add_torrent_params **)&jarg1; arg2 = *(libtorrent::bitfield **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bitfield & is null"); return ; } { @@ -35880,7 +35892,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1peer_1i (void)jarg1_; arg1 = *(libtorrent::peer_info **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::peer_info const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::peer_info const & is null"); return 0; } { @@ -37543,7 +37555,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1info_1 return 0; } } - *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >((const std::vector< int8_t > &)result); + *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >(result); return jresult; } @@ -37743,7 +37755,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1info_1 return 0; } } - *(lt::bitfield **)&jresult = new lt::bitfield((const lt::bitfield &)result); + *(lt::bitfield **)&jresult = new lt::bitfield(result); return jresult; } @@ -37787,7 +37799,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bandwidth_1s return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >(result); return jresult; } @@ -37837,7 +37849,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bandwidth arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_bandwidth_state_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_bandwidth_state_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -37871,7 +37883,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bandwidth arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_bandwidth_state_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_bandwidth_state_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -37905,7 +37917,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bandwidth_1s arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_bandwidth_state_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_bandwidth_state_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -37914,7 +37926,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bandwidth_1s return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >(result); return jresult; } @@ -37939,7 +37951,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bandwidth_1s arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_bandwidth_state_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_bandwidth_state_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -37948,7 +37960,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bandwidth_1s return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >(result); return jresult; } @@ -37973,7 +37985,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bandwidth_1s arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_bandwidth_state_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_bandwidth_state_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -37982,7 +37994,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bandwidth_1s return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >(result); return jresult; } @@ -38007,7 +38019,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bandwidth_1s return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >(result); return jresult; } @@ -38056,7 +38068,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_bandwidth_1s return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::bandwidth_state_flags_tag >(result); return jresult; } @@ -38120,7 +38132,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_connection_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >(result); return jresult; } @@ -38170,7 +38182,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_connectio arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_connection_type_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_connection_type_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38204,7 +38216,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_connectio arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_connection_type_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_connection_type_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38238,7 +38250,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_connection_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_connection_type_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_connection_type_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38247,7 +38259,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_connection_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >(result); return jresult; } @@ -38272,7 +38284,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_connection_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_connection_type_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_connection_type_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38281,7 +38293,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_connection_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >(result); return jresult; } @@ -38306,7 +38318,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_connection_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_connection_type_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_connection_type_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38315,7 +38327,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_connection_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >(result); return jresult; } @@ -38340,7 +38352,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_connection_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >(result); return jresult; } @@ -38389,7 +38401,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_connection_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::connection_type_tag >(result); return jresult; } @@ -38453,7 +38465,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1source return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >(result); return jresult; } @@ -38503,7 +38515,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1sou arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_peer_source_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_peer_source_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38537,7 +38549,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1sou arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_peer_source_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_peer_source_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38571,7 +38583,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1source arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_peer_source_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_peer_source_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38580,7 +38592,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1source return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >(result); return jresult; } @@ -38605,7 +38617,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1source arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_peer_source_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_peer_source_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38614,7 +38626,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1source return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >(result); return jresult; } @@ -38639,7 +38651,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1source arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_peer_source_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_peer_source_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38648,7 +38660,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1source return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >(result); return jresult; } @@ -38673,7 +38685,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1source return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >(result); return jresult; } @@ -38722,7 +38734,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1source return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::peer_source_flags_tag >(result); return jresult; } @@ -38786,7 +38798,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >(result); return jresult; } @@ -38836,7 +38848,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1fla arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_peer_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_peer_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38870,7 +38882,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1fla arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_peer_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_peer_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38904,7 +38916,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1flags_ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_peer_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_peer_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38913,7 +38925,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >(result); return jresult; } @@ -38938,7 +38950,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1flags_ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_peer_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_peer_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38947,7 +38959,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >(result); return jresult; } @@ -38972,7 +38984,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1flags_ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_peer_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_peer_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -38981,7 +38993,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >(result); return jresult; } @@ -39006,7 +39018,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >(result); return jresult; } @@ -39055,7 +39067,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1flags_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::peer_flags_tag >(result); return jresult; } @@ -39179,7 +39191,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pex_1flags_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >(result); return jresult; } @@ -39229,7 +39241,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pex_1flag arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pex_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pex_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -39263,7 +39275,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pex_1flag arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pex_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pex_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -39297,7 +39309,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pex_1flags_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pex_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pex_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -39306,7 +39318,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pex_1flags_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >(result); return jresult; } @@ -39331,7 +39343,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pex_1flags_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pex_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pex_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -39340,7 +39352,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pex_1flags_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >(result); return jresult; } @@ -39365,7 +39377,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pex_1flags_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pex_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pex_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -39374,7 +39386,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pex_1flags_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >(result); return jresult; } @@ -39399,7 +39411,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pex_1flags_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >(result); return jresult; } @@ -39448,7 +39460,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pex_1flags_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pex_flags_tag >(result); return jresult; } @@ -39484,7 +39496,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1info_1 arg1 = *(libtorrent::block_info **)&jarg1; arg2 = *(libtorrent::tcp::endpoint **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & is null"); return ; } { @@ -39521,7 +39533,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1info_ return 0; } } - *(libtorrent::tcp::endpoint **)&jresult = new libtorrent::tcp::endpoint((const libtorrent::tcp::endpoint &)result); + *(libtorrent::tcp::endpoint **)&jresult = new libtorrent::tcp::endpoint(result); return jresult; } @@ -40047,7 +40059,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(std::vector< libtorrent::peer_info > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::peer_info > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::peer_info > & is null"); return ; } { @@ -40189,7 +40201,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(libtorrent::torrent_status **)&jresult = new libtorrent::torrent_status((const libtorrent::torrent_status &)result); + *(libtorrent::torrent_status **)&jresult = new libtorrent::torrent_status(result); return jresult; } @@ -40214,7 +40226,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(libtorrent::torrent_status **)&jresult = new libtorrent::torrent_status((const libtorrent::torrent_status &)result); + *(libtorrent::torrent_status **)&jresult = new libtorrent::torrent_status(result); return jresult; } @@ -40311,7 +40323,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(std::vector< libtorrent::partial_piece_info > **)&jresult = new std::vector< libtorrent::partial_piece_info >((const std::vector< libtorrent::partial_piece_info > &)result); + *(std::vector< libtorrent::partial_piece_info > **)&jresult = new std::vector< libtorrent::partial_piece_info >(result); return jresult; } @@ -40327,7 +40339,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(std::vector< libtorrent::partial_piece_info > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::partial_piece_info > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::partial_piece_info > & is null"); return ; } { @@ -40491,7 +40503,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(std::vector< std::int64_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int64_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int64_t > & is null"); return ; } argp3 = *(libtorrent::file_progress_flags_t **)&jarg3; @@ -40525,7 +40537,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(std::vector< std::int64_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int64_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int64_t > & is null"); return ; } { @@ -40571,7 +40583,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(std::vector< std::int64_t > **)&jresult = new std::vector< std::int64_t >((const std::vector< std::int64_t > &)result); + *(std::vector< std::int64_t > **)&jresult = new std::vector< std::int64_t >(result); return jresult; } @@ -40596,7 +40608,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(std::vector< std::int64_t > **)&jresult = new std::vector< std::int64_t >((const std::vector< std::int64_t > &)result); + *(std::vector< std::int64_t > **)&jresult = new std::vector< std::int64_t >(result); return jresult; } @@ -40672,7 +40684,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(std::vector< libtorrent::announce_entry > **)&jresult = new std::vector< libtorrent::announce_entry >((const std::vector< libtorrent::announce_entry > &)result); + *(std::vector< libtorrent::announce_entry > **)&jresult = new std::vector< libtorrent::announce_entry >(result); return jresult; } @@ -40688,7 +40700,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(std::vector< libtorrent::announce_entry > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_entry > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< libtorrent::announce_entry > const & is null"); return ; } { @@ -40716,7 +40728,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(libtorrent::announce_entry **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::announce_entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::announce_entry const & is null"); return ; } { @@ -40945,7 +40957,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(libtorrent::torrent_flags_t **)&jresult = new libtorrent::torrent_flags_t((const libtorrent::torrent_flags_t &)result); + *(libtorrent::torrent_flags_t **)&jresult = new libtorrent::torrent_flags_t(result); return jresult; } @@ -41513,7 +41525,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(std::vector< std::vector< libtorrent::sha256_hash > > **)&jresult = new std::vector< std::vector< libtorrent::sha256_hash > >((const std::vector< std::vector< libtorrent::sha256_hash > > &)result); + *(std::vector< std::vector< libtorrent::sha256_hash > > **)&jresult = new std::vector< std::vector< libtorrent::sha256_hash > >(result); return jresult; } @@ -41550,7 +41562,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(std::vector< int > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int > & is null"); return ; } { @@ -42018,7 +42030,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(libtorrent::tcp::endpoint **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & is null"); return ; } argp3 = *(libtorrent::peer_source_flags_t **)&jarg3; @@ -42061,7 +42073,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(libtorrent::tcp::endpoint **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & is null"); return ; } argp3 = *(libtorrent::peer_source_flags_t **)&jarg3; @@ -42095,7 +42107,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(libtorrent::tcp::endpoint **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::tcp::endpoint const & is null"); return ; } { @@ -42348,7 +42360,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash((const libtorrent::sha1_hash &)result); + *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash(result); return jresult; } @@ -42373,7 +42385,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(libtorrent::info_hash_t **)&jresult = new libtorrent::info_hash_t((const libtorrent::info_hash_t &)result); + *(libtorrent::info_hash_t **)&jresult = new libtorrent::info_hash_t(result); return jresult; } @@ -42391,7 +42403,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1 arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(libtorrent::torrent_handle **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & is null"); return 0; } { @@ -42423,7 +42435,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1 arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(libtorrent::torrent_handle **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & is null"); return 0; } { @@ -42455,7 +42467,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1 arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(libtorrent::torrent_handle **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & is null"); return 0; } { @@ -42519,7 +42531,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(libtorrent::client_data_t **)&jresult = new libtorrent::client_data_t((const libtorrent::client_data_t &)result); + *(libtorrent::client_data_t **)&jresult = new libtorrent::client_data_t(result); return jresult; } @@ -42565,7 +42577,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg2 = (int)jarg2; arg3 = *(std::vector< int8_t > **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & is null"); return ; } argp4 = *(libtorrent::add_piece_flags_t **)&jarg4; @@ -42576,7 +42588,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg4 = *argp4; { try { - libtorrent_torrent_handle_add_piece_bytes__SWIG_0(arg1,arg2,(std::vector< signed char > const &)*arg3,arg4); + libtorrent_torrent_handle_add_piece_bytes__SWIG_0(arg1,arg2,(std::vector< signed char > const &)*arg3,SWIG_STD_MOVE(arg4)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -42601,7 +42613,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg2 = (int)jarg2; arg3 = *(std::vector< int8_t > **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & is null"); return ; } { @@ -42688,7 +42700,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(std::vector< std::string > **)&jresult = new std::vector< std::string >((const std::vector< std::string > &)result); + *(std::vector< std::string > **)&jresult = new std::vector< std::string >(result); return jresult; } @@ -42708,17 +42720,17 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(std::vector< int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & is null"); return ; } arg3 = *(std::vector< int8_t > **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & is null"); return ; } arg4 = *(std::vector< int8_t > **)&jarg4; if (!arg4) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & is null"); return ; } { @@ -42798,7 +42810,7 @@ SWIGEXPORT jbyte JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han } { try { - result = (std::int8_t)libtorrent_torrent_handle_piece_priority_ex__SWIG_0(arg1,arg2); + result = (std::int8_t)libtorrent_torrent_handle_piece_priority_ex__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -42827,7 +42839,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg3 = (std::int8_t)jarg3; { try { - libtorrent_torrent_handle_piece_priority_ex__SWIG_1(arg1,arg2,arg3); + libtorrent_torrent_handle_piece_priority_ex__SWIG_1(arg1,SWIG_STD_MOVE(arg2),arg3); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -42850,7 +42862,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(std::vector< std::int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return ; } { @@ -42878,7 +42890,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(std::vector< std::pair< int,std::int8_t > > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< int,std::int8_t > > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::pair< int,std::int8_t > > const & is null"); return ; } { @@ -42915,7 +42927,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -42935,7 +42947,7 @@ SWIGEXPORT jbyte JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han } { try { - result = (std::int8_t)libtorrent_torrent_handle_file_priority_ex__SWIG_0(arg1,arg2); + result = (std::int8_t)libtorrent_torrent_handle_file_priority_ex__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -42964,7 +42976,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg3 = (std::int8_t)jarg3; { try { - libtorrent_torrent_handle_file_priority_ex__SWIG_1(arg1,arg2,arg3); + libtorrent_torrent_handle_file_priority_ex__SWIG_1(arg1,SWIG_STD_MOVE(arg2),arg3); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -42987,7 +42999,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1hand arg1 = *(libtorrent::torrent_handle **)&jarg1; arg2 = *(std::vector< std::int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return ; } { @@ -43024,7 +43036,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1han return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -43088,7 +43100,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1piece_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >(result); return jresult; } @@ -43138,7 +43150,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1piec arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_add_piece_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_add_piece_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43172,7 +43184,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1piec arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_add_piece_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_add_piece_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43206,7 +43218,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1piece_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_add_piece_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_add_piece_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43215,7 +43227,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1piece_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >(result); return jresult; } @@ -43240,7 +43252,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1piece_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_add_piece_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_add_piece_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43249,7 +43261,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1piece_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >(result); return jresult; } @@ -43274,7 +43286,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1piece_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_add_piece_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_add_piece_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43283,7 +43295,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1piece_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >(result); return jresult; } @@ -43308,7 +43320,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1piece_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >(result); return jresult; } @@ -43357,7 +43369,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1piece_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::add_piece_flags_tag >(result); return jresult; } @@ -43421,7 +43433,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_deadline_1fl return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >(result); return jresult; } @@ -43471,7 +43483,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_deadline_ arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_deadline_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_deadline_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43505,7 +43517,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_deadline_ arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_deadline_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_deadline_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43539,7 +43551,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_deadline_1fl arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_deadline_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_deadline_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43548,7 +43560,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_deadline_1fl return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >(result); return jresult; } @@ -43573,7 +43585,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_deadline_1fl arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_deadline_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_deadline_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43582,7 +43594,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_deadline_1fl return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >(result); return jresult; } @@ -43607,7 +43619,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_deadline_1fl arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_deadline_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_deadline_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43616,7 +43628,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_deadline_1fl return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >(result); return jresult; } @@ -43641,7 +43653,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_deadline_1fl return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >(result); return jresult; } @@ -43690,7 +43702,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_deadline_1fl return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::deadline_flags_tag >(result); return jresult; } @@ -43754,7 +43766,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1progre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >(result); return jresult; } @@ -43804,7 +43816,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1pro arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_progress_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_progress_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43838,7 +43850,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1pro arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_progress_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_progress_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43872,7 +43884,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1progre arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_progress_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_progress_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43881,7 +43893,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1progre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >(result); return jresult; } @@ -43906,7 +43918,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1progre arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_progress_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_progress_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43915,7 +43927,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1progre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >(result); return jresult; } @@ -43940,7 +43952,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1progre arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_progress_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_file_progress_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -43949,7 +43961,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1progre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >(result); return jresult; } @@ -43974,7 +43986,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1progre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >(result); return jresult; } @@ -44023,7 +44035,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1progre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::file_progress_flags_tag >(result); return jresult; } @@ -44087,7 +44099,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pause_1flags return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >(result); return jresult; } @@ -44137,7 +44149,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pause_1fl arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pause_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pause_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44171,7 +44183,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pause_1fl arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pause_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pause_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44205,7 +44217,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pause_1flags arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pause_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pause_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44214,7 +44226,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pause_1flags return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >(result); return jresult; } @@ -44239,7 +44251,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pause_1flags arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pause_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pause_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44248,7 +44260,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pause_1flags return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >(result); return jresult; } @@ -44273,7 +44285,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pause_1flags arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pause_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_pause_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44282,7 +44294,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pause_1flags return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >(result); return jresult; } @@ -44307,7 +44319,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pause_1flags return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >(result); return jresult; } @@ -44356,7 +44368,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_pause_1flags return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::pause_flags_tag >(result); return jresult; } @@ -44420,7 +44432,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_resume_1data return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >(result); return jresult; } @@ -44470,7 +44482,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_resume_1d arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_resume_data_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_resume_data_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44504,7 +44516,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_resume_1d arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_resume_data_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_resume_data_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44538,7 +44550,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_resume_1data arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_resume_data_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_resume_data_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44547,7 +44559,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_resume_1data return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >(result); return jresult; } @@ -44572,7 +44584,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_resume_1data arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_resume_data_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_resume_data_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44581,7 +44593,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_resume_1data return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >(result); return jresult; } @@ -44606,7 +44618,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_resume_1data arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_resume_data_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_resume_data_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44615,7 +44627,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_resume_1data return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >(result); return jresult; } @@ -44640,7 +44652,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_resume_1data return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >(result); return jresult; } @@ -44689,7 +44701,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_resume_1data return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::resume_data_flags_tag >(result); return jresult; } @@ -44753,7 +44765,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reannounce_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >(result); return jresult; } @@ -44803,7 +44815,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reannounc arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reannounce_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reannounce_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44837,7 +44849,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reannounc arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reannounce_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reannounce_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44871,7 +44883,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reannounce_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reannounce_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reannounce_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44880,7 +44892,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reannounce_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >(result); return jresult; } @@ -44905,7 +44917,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reannounce_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reannounce_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reannounce_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44914,7 +44926,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reannounce_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >(result); return jresult; } @@ -44939,7 +44951,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reannounce_1 arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reannounce_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reannounce_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -44948,7 +44960,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reannounce_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >(result); return jresult; } @@ -44973,7 +44985,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reannounce_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >(result); return jresult; } @@ -45022,7 +45034,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reannounce_1 return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reannounce_flags_tag >(result); return jresult; } @@ -45086,7 +45098,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_status_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >(result); return jresult; } @@ -45136,7 +45148,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_status_1f arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_status_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_status_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -45170,7 +45182,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_status_1f arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_status_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_status_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -45204,7 +45216,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_status_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_status_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_status_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -45213,7 +45225,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_status_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >(result); return jresult; } @@ -45238,7 +45250,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_status_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_status_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_status_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -45247,7 +45259,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_status_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >(result); return jresult; } @@ -45272,7 +45284,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_status_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_status_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_status_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -45281,7 +45293,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_status_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >(result); return jresult; } @@ -45306,7 +45318,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_status_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >(result); return jresult; } @@ -45355,7 +45367,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_status_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::status_flags_tag >(result); return jresult; } @@ -45432,7 +45444,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1torrent (void)jarg1_; arg1 = *(libtorrent::torrent_status **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_status const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_status const & is null"); return 0; } { @@ -45464,7 +45476,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1 arg1 = *(libtorrent::torrent_status **)&jarg1; arg2 = *(libtorrent::torrent_status **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_status const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_status const & is null"); return 0; } { @@ -47482,7 +47494,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1sta return 0; } } - *(libtorrent::bitfield **)&jresult = new libtorrent::bitfield((const libtorrent::bitfield &)result); + *(libtorrent::bitfield **)&jresult = new libtorrent::bitfield(result); return jresult; } @@ -47507,7 +47519,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1sta return 0; } } - *(libtorrent::bitfield **)&jresult = new libtorrent::bitfield((const libtorrent::bitfield &)result); + *(libtorrent::bitfield **)&jresult = new libtorrent::bitfield(result); return jresult; } @@ -47568,7 +47580,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1counter (void)jarg1_; arg1 = *(libtorrent::counters **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::counters const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::counters const & is null"); return 0; } { @@ -47877,7 +47889,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1bl arg1 = *(libtorrent::piece_block **)&jarg1; arg2 = *(libtorrent::piece_block **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::piece_block const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::piece_block const & is null"); return 0; } { @@ -47909,7 +47921,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1bl arg1 = *(libtorrent::piece_block **)&jarg1; arg2 = *(libtorrent::piece_block **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::piece_block const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::piece_block const & is null"); return 0; } { @@ -47941,7 +47953,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1bl arg1 = *(libtorrent::piece_block **)&jarg1; arg2 = *(libtorrent::piece_block **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::piece_block const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::piece_block const & is null"); return 0; } { @@ -48156,7 +48168,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1entry_1 (void)jarg1_; arg1 = *(libtorrent::entry **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & is null"); return 0; } { @@ -48419,7 +48431,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1set_1_ jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); arg3 = *(std::vector< int8_t > **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & is null"); return ; } { @@ -48492,7 +48504,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1set_1_ jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); arg3 = *(libtorrent::entry **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & is null"); return ; } { @@ -48529,7 +48541,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1strin return 0; } } - *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >((const std::vector< int8_t > &)result); + *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >(result); return jresult; } @@ -48554,7 +48566,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1prefo return 0; } } - *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >((const std::vector< int8_t > &)result); + *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >(result); return jresult; } @@ -48579,7 +48591,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1benco return 0; } } - *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >((const std::vector< int8_t > &)result); + *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >(result); return jresult; } @@ -48594,7 +48606,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1from_ (void)jarg1_; arg1 = *(std::vector< int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & is null"); return 0; } { @@ -48608,7 +48620,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1from_ return 0; } } - *(libtorrent::entry **)&jresult = new libtorrent::entry((const libtorrent::entry &)result); + *(libtorrent::entry **)&jresult = new libtorrent::entry(result); return jresult; } @@ -48623,7 +48635,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1from_ (void)jarg1_; arg1 = *(std::vector< int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > const & is null"); return 0; } { @@ -48637,7 +48649,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1from_ return 0; } } - *(libtorrent::entry **)&jresult = new libtorrent::entry((const libtorrent::entry &)result); + *(libtorrent::entry **)&jresult = new libtorrent::entry(result); return jresult; } @@ -48652,7 +48664,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1bdeco (void)jarg1_; arg1 = *(std::vector< int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } { @@ -48666,7 +48678,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_entry_1bdeco return 0; } } - *(libtorrent::entry **)&jresult = new libtorrent::entry((const libtorrent::entry &)result); + *(libtorrent::entry **)&jresult = new libtorrent::entry(result); return jresult; } @@ -49358,7 +49370,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1categ return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -51802,7 +51814,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1categ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >(result); return jresult; } @@ -51852,7 +51864,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1ca arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_alert_category_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_alert_category_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -51886,7 +51898,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1ca arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_alert_category_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_alert_category_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -51920,7 +51932,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1categ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_alert_category_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_alert_category_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -51929,7 +51941,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1categ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >(result); return jresult; } @@ -51954,7 +51966,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1categ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_alert_category_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_alert_category_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -51963,7 +51975,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1categ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >(result); return jresult; } @@ -51988,7 +52000,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1categ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_alert_category_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_alert_category_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -51997,7 +52009,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1categ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >(result); return jresult; } @@ -52022,7 +52034,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1categ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >(result); return jresult; } @@ -52071,7 +52083,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alert_1categ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::alert_category_tag >(result); return jresult; } @@ -52477,7 +52489,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1alert_ return 0; } } - *(libtorrent::tcp::endpoint **)&jresult = new libtorrent::tcp::endpoint((const libtorrent::tcp::endpoint &)result); + *(libtorrent::tcp::endpoint **)&jresult = new libtorrent::tcp::endpoint(result); return jresult; } @@ -52600,7 +52612,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tracker_1ale return 0; } } - *(libtorrent::tcp::endpoint **)&jresult = new libtorrent::tcp::endpoint((const libtorrent::tcp::endpoint &)result); + *(libtorrent::tcp::endpoint **)&jresult = new libtorrent::tcp::endpoint(result); return jresult; } @@ -52694,7 +52706,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1rem return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -52908,7 +52920,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_read_1piece_ return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -53136,7 +53148,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1comple return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -53309,7 +53321,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1rename return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -53532,7 +53544,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1rename return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -53732,7 +53744,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_performance_ return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -53903,7 +53915,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_state_1chang return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -54089,7 +54101,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tracker_1err return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -54353,7 +54365,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tracker_1war return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -54534,7 +54546,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_scrape_1repl return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -54720,7 +54732,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_scrape_1fail return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -54916,7 +54928,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tracker_1rep return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -55087,7 +55099,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1reply_1 return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -55258,7 +55270,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tracker_1ann return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -55429,7 +55441,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_hash_1failed return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -55602,7 +55614,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1ban_1a return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -55758,7 +55770,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1unsnub return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -55914,7 +55926,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1snubbe return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -56070,7 +56082,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1error_ return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -56269,7 +56281,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1connec return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -56481,7 +56493,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1discon return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -56697,7 +56709,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_invalid_1req return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -56913,7 +56925,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1fin return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -57069,7 +57081,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1finis return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -57242,7 +57254,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_request_1dro return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -57430,7 +57442,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1timeo return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -57618,7 +57630,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1finis return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -57806,7 +57818,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1downl return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -57994,7 +58006,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_unwanted_1bl return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -58182,7 +58194,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_storage_1mov return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -58388,7 +58400,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_storage_1mov return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -58612,7 +58624,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1del return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -58797,7 +58809,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1del return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -58997,7 +59009,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1resume return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -59182,7 +59194,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1resume return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -59353,7 +59365,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1pau return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -59509,7 +59521,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1res return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -59665,7 +59677,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1che return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -59821,7 +59833,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_url_1seed_1a return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -60042,7 +60054,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1error_ return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -60266,7 +60278,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_metadata_1fa return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -60437,7 +60449,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_metadata_1re return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -60593,7 +60605,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_udp_1error_1 return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -60723,7 +60735,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_udp_1error_1 return 0; } } - *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint((const libtorrent::udp::endpoint &)result); + *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint(result); return jresult; } @@ -60817,7 +60829,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_external_1ip return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -60904,7 +60916,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_external_1ip return 0; } } - *(libtorrent::address **)&jresult = new libtorrent::address((const libtorrent::address &)result); + *(libtorrent::address **)&jresult = new libtorrent::address(result); return jresult; } @@ -60998,7 +61010,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_listen_1fail return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -61168,7 +61180,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_listen_1fail return 0; } } - *(libtorrent::address **)&jresult = new libtorrent::address((const libtorrent::address &)result); + *(libtorrent::address **)&jresult = new libtorrent::address(result); return jresult; } @@ -61287,7 +61299,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_listen_1succ return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -61389,7 +61401,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_listen_1succ return 0; } } - *(libtorrent::address **)&jresult = new libtorrent::address((const libtorrent::address &)result); + *(libtorrent::address **)&jresult = new libtorrent::address(result); return jresult; } @@ -61508,7 +61520,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_portmap_1err return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -61732,7 +61744,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_portmap_1ale return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -61958,7 +61970,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_portmap_1log return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -62154,7 +62166,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_fastresume_1 return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -62392,7 +62404,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1blocke return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -62563,7 +62575,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1announc return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -62707,7 +62719,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1announc return 0; } } - *(libtorrent::address **)&jresult = new libtorrent::address((const libtorrent::address &)result); + *(libtorrent::address **)&jresult = new libtorrent::address(result); return jresult; } @@ -62801,7 +62813,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1get_1pe return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -62986,7 +62998,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_cache_1flush return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -63117,7 +63129,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_lsd_1peer_1a return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -63273,7 +63285,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_trackerid_1a return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -63454,7 +63466,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1bootstr return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -63610,7 +63622,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1err return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -63806,7 +63818,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1nee return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -63962,7 +63974,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_incoming_1co return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -64077,7 +64089,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_incoming_1co return 0; } } - *(libtorrent::tcp::endpoint **)&jresult = new libtorrent::tcp::endpoint((const libtorrent::tcp::endpoint &)result); + *(libtorrent::tcp::endpoint **)&jresult = new libtorrent::tcp::endpoint(result); return jresult; } @@ -64171,7 +64183,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_add_1torrent return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -64385,7 +64397,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_state_1updat return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -64570,7 +64582,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1sta return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -64753,7 +64765,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1error_1 return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -64966,7 +64978,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1immutab return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -65180,7 +65192,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1mutable return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -65388,7 +65400,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1mutable return 0; } } - *(std::array< std::int8_t,32 > **)&jresult = new std::array< std::int8_t,32 >((const std::array< std::int8_t,32 > &)result); + *(std::array< std::int8_t,32 > **)&jresult = new std::array< std::int8_t,32 >(result); return jresult; } @@ -65413,7 +65425,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1mutable return 0; } } - *(std::array< std::int8_t,64 > **)&jresult = new std::array< std::int8_t,64 >((const std::array< std::int8_t,64 > &)result); + *(std::array< std::int8_t,64 > **)&jresult = new std::array< std::int8_t,64 >(result); return jresult; } @@ -65463,7 +65475,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1mutable return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -65557,7 +65569,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1put_1al return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -65765,7 +65777,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1put_1al return 0; } } - *(std::array< std::int8_t,32 > **)&jresult = new std::array< std::int8_t,32 >((const std::array< std::int8_t,32 > &)result); + *(std::array< std::int8_t,32 > **)&jresult = new std::array< std::int8_t,32 >(result); return jresult; } @@ -65790,7 +65802,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1put_1al return 0; } } - *(std::array< std::int8_t,64 > **)&jresult = new std::array< std::int8_t,64 >((const std::array< std::int8_t,64 > &)result); + *(std::array< std::int8_t,64 > **)&jresult = new std::array< std::int8_t,64 >(result); return jresult; } @@ -65815,7 +65827,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1put_1al return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -65934,7 +65946,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_i2p_1alert_1 return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -66119,7 +66131,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1outgoin return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -66264,7 +66276,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1outgoin return 0; } } - *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint((const libtorrent::udp::endpoint &)result); + *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint(result); return jresult; } @@ -66358,7 +66370,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_log_1alert_1 return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -66539,7 +66551,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1log return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -66720,7 +66732,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1log_1a return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -66954,7 +66966,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_lsd_1error_1 return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -67431,7 +67443,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1stats_1 return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -67605,7 +67617,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1stats_1 return 0; } } - *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint((const libtorrent::udp::endpoint &)result); + *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint(result); return jresult; } @@ -67711,7 +67723,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_incoming_1re return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -67896,7 +67908,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1log_1al return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -68105,7 +68117,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1pkt_1al return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -68208,7 +68220,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1pkt_1al return 0; } } - *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint((const libtorrent::udp::endpoint &)result); + *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint(result); return jresult; } @@ -68233,7 +68245,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1pkt_1al return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -68339,7 +68351,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1get_1pe return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -68468,7 +68480,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1get_1pe return 0; } } - *(std::vector< libtorrent::tcp::endpoint > **)&jresult = new std::vector< libtorrent::tcp::endpoint >((const std::vector< libtorrent::tcp::endpoint > &)result); + *(std::vector< libtorrent::tcp::endpoint > **)&jresult = new std::vector< libtorrent::tcp::endpoint >(result); return jresult; } @@ -68562,7 +68574,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1direct_ return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -68678,7 +68690,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1direct_ return 0; } } - *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node((const libtorrent::bdecode_node &)result); + *(libtorrent::bdecode_node **)&jresult = new libtorrent::bdecode_node(result); return jresult; } @@ -68703,7 +68715,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1direct_ return 0; } } - *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint((const libtorrent::udp::endpoint &)result); + *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint(result); return jresult; } @@ -68797,7 +68809,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1log_ return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -69117,7 +69129,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1log_ return 0; } } - *(std::vector< libtorrent::piece_block > **)&jresult = new std::vector< libtorrent::piece_block >((const std::vector< libtorrent::piece_block > &)result); + *(std::vector< libtorrent::piece_block > **)&jresult = new std::vector< libtorrent::piece_block >(result); return jresult; } @@ -69211,7 +69223,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1err return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -69382,7 +69394,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1live_1n return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -69523,7 +69535,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1live_1n return 0; } } - *(std::vector< std::pair< libtorrent::sha1_hash,libtorrent::udp::endpoint > > **)&jresult = new std::vector< std::pair< libtorrent::sha1_hash,libtorrent::udp::endpoint > >((const std::vector< std::pair< libtorrent::sha1_hash,libtorrent::udp::endpoint > > &)result); + *(std::vector< std::pair< libtorrent::sha1_hash,libtorrent::udp::endpoint > > **)&jresult = new std::vector< std::pair< libtorrent::sha1_hash,libtorrent::udp::endpoint > >(result); return jresult; } @@ -69617,7 +69629,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1sta return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -69785,7 +69797,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1sample_ return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -69929,7 +69941,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1sample_ return 0; } } - *(std::vector< libtorrent::sha1_hash > **)&jresult = new std::vector< libtorrent::sha1_hash >((const std::vector< libtorrent::sha1_hash > &)result); + *(std::vector< libtorrent::sha1_hash > **)&jresult = new std::vector< libtorrent::sha1_hash >(result); return jresult; } @@ -69979,7 +69991,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1sample_ return 0; } } - *(std::vector< std::pair< libtorrent::sha1_hash,libtorrent::udp::endpoint > > **)&jresult = new std::vector< std::pair< libtorrent::sha1_hash,libtorrent::udp::endpoint > >((const std::vector< std::pair< libtorrent::sha1_hash,libtorrent::udp::endpoint > > &)result); + *(std::vector< std::pair< libtorrent::sha1_hash,libtorrent::udp::endpoint > > **)&jresult = new std::vector< std::pair< libtorrent::sha1_hash,libtorrent::udp::endpoint > >(result); return jresult; } @@ -70004,7 +70016,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_dht_1sample_ return 0; } } - *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint((const libtorrent::udp::endpoint &)result); + *(libtorrent::udp::endpoint **)&jresult = new libtorrent::udp::endpoint(result); return jresult; } @@ -70123,7 +70135,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_block_1uploa return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -70311,7 +70323,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_alerts_1drop return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -70496,7 +70508,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_socks5_1aler return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -70709,7 +70721,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1prio_1 return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -70922,7 +70934,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_oversized_1f return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -71078,7 +71090,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1con return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -71194,7 +71206,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_torrent_1con return 0; } } - *(libtorrent::torrent_info **)&jresult = new libtorrent::torrent_info((const libtorrent::torrent_info &)result); + *(libtorrent::torrent_info **)&jresult = new libtorrent::torrent_info(result); return jresult; } @@ -71288,7 +71300,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_peer_1info_1 return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -71473,7 +71485,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1progre return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -71560,7 +71572,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_file_1progre return 0; } } - *(std::vector< std::int64_t > **)&jresult = new std::vector< std::int64_t >((const std::vector< std::int64_t > &)result); + *(std::vector< std::int64_t > **)&jresult = new std::vector< std::int64_t >(result); return jresult; } @@ -71654,7 +71666,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1info_ return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -71868,7 +71880,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_piece_1avail return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -72053,7 +72065,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_tracker_1lis return 0; } } - *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t((const libtorrent::alert_category_t &)result); + *(libtorrent::alert_category_t **)&jresult = new libtorrent::alert_category_t(result); return jresult; } @@ -72208,7 +72220,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >(result); return jresult; } @@ -72258,7 +72270,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1f arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_picker_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_picker_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -72292,7 +72304,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1f arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_picker_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_picker_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -72326,7 +72338,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_picker_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_picker_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -72335,7 +72347,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >(result); return jresult; } @@ -72360,7 +72372,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_picker_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_picker_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -72369,7 +72381,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >(result); return jresult; } @@ -72394,7 +72406,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_picker_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_picker_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -72403,7 +72415,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >(result); return jresult; } @@ -72428,7 +72440,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >(result); return jresult; } @@ -72477,7 +72489,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_picker_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::picker_flags_tag >(result); return jresult; } @@ -72543,7 +72555,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_default_1set return 0; } } - *(libtorrent::settings_pack **)&jresult = new libtorrent::settings_pack((const libtorrent::settings_pack &)result); + *(libtorrent::settings_pack **)&jresult = new libtorrent::settings_pack(result); return jresult; } @@ -72770,7 +72782,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1setting (void)jarg1_; arg1 = *(libtorrent::settings_pack **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::settings_pack const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::settings_pack const & is null"); return 0; } { @@ -73621,7 +73633,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_settings_1pa return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -73646,7 +73658,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_settings_1pac arg3 = *argp3; { try { - libtorrent_settings_pack_set_bytes(arg1,arg2,arg3); + libtorrent_settings_pack_set_bytes(arg1,arg2,SWIG_STD_MOVE(arg3)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -74039,7 +74051,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1ip_1fil (void)jarg1_; arg1 = *(libtorrent::ip_filter **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::ip_filter const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::ip_filter const & is null"); return 0; } { @@ -74109,12 +74121,12 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1filter_1a arg1 = *(libtorrent::ip_filter **)&jarg1; arg2 = *(libtorrent::address **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & is null"); return ; } arg3 = *(libtorrent::address **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & is null"); return ; } arg4 = (std::uint32_t)jarg4; @@ -74145,7 +74157,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ip_1filter_1 arg1 = *(libtorrent::ip_filter **)&jarg1; arg2 = *(libtorrent::address **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::address const & is null"); return 0; } { @@ -74216,7 +74228,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1port_1f (void)jarg1_; arg1 = *(libtorrent::port_filter **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::port_filter const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::port_filter const & is null"); return 0; } { @@ -74360,7 +74372,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_remove_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >(result); return jresult; } @@ -74410,7 +74422,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_remove_1f arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_remove_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_remove_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -74444,7 +74456,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_remove_1f arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_remove_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_remove_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -74478,7 +74490,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_remove_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_remove_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_remove_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -74487,7 +74499,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_remove_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >(result); return jresult; } @@ -74512,7 +74524,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_remove_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_remove_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_remove_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -74521,7 +74533,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_remove_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >(result); return jresult; } @@ -74546,7 +74558,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_remove_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_remove_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_remove_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -74555,7 +74567,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_remove_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >(result); return jresult; } @@ -74580,7 +74592,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_remove_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >(result); return jresult; } @@ -74629,7 +74641,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_remove_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::remove_flags_tag >(result); return jresult; } @@ -74693,7 +74705,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1state_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >(result); return jresult; } @@ -74743,7 +74755,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1sta arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_save_state_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_save_state_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -74777,7 +74789,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1sta arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_save_state_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_save_state_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -74811,7 +74823,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1state_ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_save_state_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_save_state_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -74820,7 +74832,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1state_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >(result); return jresult; } @@ -74845,7 +74857,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1state_ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_save_state_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_save_state_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -74854,7 +74866,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1state_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >(result); return jresult; } @@ -74879,7 +74891,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1state_ arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_save_state_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_save_state_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -74888,7 +74900,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1state_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >(result); return jresult; } @@ -74913,7 +74925,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1state_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >(result); return jresult; } @@ -74962,7 +74974,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_save_1state_ return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::save_state_flags_tag >(result); return jresult; } @@ -75026,7 +75038,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >(result); return jresult; } @@ -75076,7 +75088,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1 arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_session_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_session_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75110,7 +75122,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1 arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_session_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_session_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75144,7 +75156,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1fla arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_session_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_session_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75153,7 +75165,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >(result); return jresult; } @@ -75178,7 +75190,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1fla arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_session_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_session_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75187,7 +75199,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >(result); return jresult; } @@ -75212,7 +75224,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1fla arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_session_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_session_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75221,7 +75233,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >(result); return jresult; } @@ -75246,7 +75258,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >(result); return jresult; } @@ -75295,7 +75307,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1fla return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::session_flags_tag >(result); return jresult; } @@ -75359,7 +75371,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reopen_1netw return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >(result); return jresult; } @@ -75409,7 +75421,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reopen_1n arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reopen_network_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reopen_network_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75443,7 +75455,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reopen_1n arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reopen_network_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reopen_network_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75477,7 +75489,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reopen_1netw arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reopen_network_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reopen_network_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75486,7 +75498,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reopen_1netw return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >(result); return jresult; } @@ -75511,7 +75523,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reopen_1netw arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reopen_network_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reopen_network_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75520,7 +75532,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reopen_1netw return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >(result); return jresult; } @@ -75545,7 +75557,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reopen_1netw arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reopen_network_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint8_t_Sc_libtorrent_reopen_network_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75554,7 +75566,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reopen_1netw return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >(result); return jresult; } @@ -75579,7 +75591,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reopen_1netw return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >(result); return jresult; } @@ -75628,7 +75640,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_reopen_1netw return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint8_t,libtorrent::reopen_network_flags_tag >(result); return jresult; } @@ -75663,7 +75675,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1session (void)jarg1_; arg1 = *(libtorrent::settings_pack **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::settings_pack const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::settings_pack const & is null"); return 0; } { @@ -75734,7 +75746,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1session (void)jarg1_; arg1 = *(libtorrent::session_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::session_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::session_params const & is null"); return 0; } { @@ -75911,7 +75923,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par (void)jarg2_; arg1 = *(lt::bdecode_node **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::bdecode_node const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::bdecode_node const & is null"); return 0; } argp2 = *(lt::save_state_flags_t **)&jarg2; @@ -75922,7 +75934,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par arg2 = *argp2; { try { - result = libtorrent_session_params_read_session_params__SWIG_0((libtorrent::bdecode_node const &)*arg1,arg2); + result = libtorrent_session_params_read_session_params__SWIG_0((libtorrent::bdecode_node const &)*arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75931,7 +75943,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par return 0; } } - *(lt::session_params **)&jresult = new lt::session_params((const lt::session_params &)result); + *(lt::session_params **)&jresult = new lt::session_params(result); return jresult; } @@ -75946,7 +75958,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par (void)jarg1_; arg1 = *(lt::bdecode_node **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::bdecode_node const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::bdecode_node const & is null"); return 0; } { @@ -75960,7 +75972,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par return 0; } } - *(lt::session_params **)&jresult = new lt::session_params((const lt::session_params &)result); + *(lt::session_params **)&jresult = new lt::session_params(result); return jresult; } @@ -75978,7 +75990,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par (void)jarg2_; arg1 = *(lt::session_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::session_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::session_params const & is null"); return 0; } argp2 = *(lt::save_state_flags_t **)&jarg2; @@ -75989,7 +76001,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par arg2 = *argp2; { try { - result = libtorrent_session_params_write_session_params__SWIG_0((libtorrent::session_params const &)*arg1,arg2); + result = libtorrent_session_params_write_session_params__SWIG_0((libtorrent::session_params const &)*arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -75998,7 +76010,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par return 0; } } - *(lt::entry **)&jresult = new lt::entry((const lt::entry &)result); + *(lt::entry **)&jresult = new lt::entry(result); return jresult; } @@ -76013,7 +76025,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par (void)jarg1_; arg1 = *(lt::session_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::session_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::session_params const & is null"); return 0; } { @@ -76027,7 +76039,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par return 0; } } - *(lt::entry **)&jresult = new lt::entry((const lt::entry &)result); + *(lt::entry **)&jresult = new lt::entry(result); return jresult; } @@ -76045,7 +76057,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par (void)jarg2_; arg1 = *(lt::session_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::session_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::session_params const & is null"); return 0; } argp2 = *(lt::save_state_flags_t **)&jarg2; @@ -76056,7 +76068,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par arg2 = *argp2; { try { - result = libtorrent_session_params_write_session_params_buf__SWIG_0((libtorrent::session_params const &)*arg1,arg2); + result = libtorrent_session_params_write_session_params_buf__SWIG_0((libtorrent::session_params const &)*arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -76065,7 +76077,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -76080,7 +76092,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par (void)jarg1_; arg1 = *(lt::session_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::session_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "lt::session_params const & is null"); return 0; } { @@ -76094,7 +76106,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1par return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -76173,7 +76185,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1session (void)jarg1_; arg1 = *(libtorrent::session_handle **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::session_handle const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::session_handle const & is null"); return 0; } { @@ -76294,7 +76306,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han return 0; } } - *(libtorrent::session_params **)&jresult = new libtorrent::session_params((const libtorrent::session_params &)result); + *(libtorrent::session_params **)&jresult = new libtorrent::session_params(result); return jresult; } @@ -76319,7 +76331,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han return 0; } } - *(libtorrent::session_params **)&jresult = new libtorrent::session_params((const libtorrent::session_params &)result); + *(libtorrent::session_params **)&jresult = new libtorrent::session_params(result); return jresult; } @@ -76485,7 +76497,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::dht::dht_state **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::dht::dht_state const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::dht::dht_state const & is null"); return ; } { @@ -76515,7 +76527,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::sha1_hash **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & is null"); return 0; } { @@ -76529,7 +76541,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han return 0; } } - *(libtorrent::torrent_handle **)&jresult = new libtorrent::torrent_handle((const libtorrent::torrent_handle &)result); + *(libtorrent::torrent_handle **)&jresult = new libtorrent::torrent_handle(result); return jresult; } @@ -76554,7 +76566,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han return 0; } } - *(std::vector< libtorrent::torrent_handle > **)&jresult = new std::vector< libtorrent::torrent_handle >((const std::vector< libtorrent::torrent_handle > &)result); + *(std::vector< libtorrent::torrent_handle > **)&jresult = new std::vector< libtorrent::torrent_handle >(result); return jresult; } @@ -76574,12 +76586,12 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::add_torrent_params **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & is null"); return 0; } arg3 = *(libtorrent::error_code **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return 0; } { @@ -76593,7 +76605,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han return 0; } } - *(libtorrent::torrent_handle **)&jresult = new libtorrent::torrent_handle((const libtorrent::torrent_handle &)result); + *(libtorrent::torrent_handle **)&jresult = new libtorrent::torrent_handle(result); return jresult; } @@ -76609,7 +76621,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::add_torrent_params **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & is null"); return ; } { @@ -76729,7 +76741,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(std::pair< std::string,int > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,int > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::pair< std::string,int > const & is null"); return ; } { @@ -76757,7 +76769,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::sha1_hash **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & is null"); return ; } { @@ -76803,7 +76815,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han return 0; } } - *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash((const libtorrent::sha1_hash &)result); + *(libtorrent::sha1_hash **)&jresult = new libtorrent::sha1_hash(result); return jresult; } @@ -76819,7 +76831,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::sha1_hash **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & is null"); return ; } { @@ -76847,7 +76859,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::sha1_hash **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & is null"); return ; } { @@ -76877,12 +76889,12 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::udp::endpoint **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & is null"); return ; } arg3 = *(libtorrent::sha1_hash **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & is null"); return ; } { @@ -76915,12 +76927,12 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::udp::endpoint **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & is null"); return ; } arg3 = *(libtorrent::entry **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & is null"); return ; } argp4 = *(libtorrent::client_data_t **)&jarg4; @@ -76956,12 +76968,12 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::udp::endpoint **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & is null"); return ; } arg3 = *(libtorrent::entry **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & is null"); return ; } { @@ -77028,7 +77040,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han return 0; } } - *(libtorrent::ip_filter **)&jresult = new libtorrent::ip_filter((const libtorrent::ip_filter &)result); + *(libtorrent::ip_filter **)&jresult = new libtorrent::ip_filter(result); return jresult; } @@ -77044,7 +77056,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::port_filter **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::port_filter const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::port_filter const & is null"); return ; } { @@ -77147,7 +77159,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::ip_filter **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::ip_filter const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::ip_filter const & is null"); return ; } { @@ -77184,7 +77196,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han return 0; } } - *(libtorrent::ip_filter **)&jresult = new libtorrent::ip_filter((const libtorrent::ip_filter &)result); + *(libtorrent::ip_filter **)&jresult = new libtorrent::ip_filter(result); return jresult; } @@ -77200,7 +77212,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::peer_class_type_filter **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::peer_class_type_filter const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::peer_class_type_filter const & is null"); return ; } { @@ -77237,7 +77249,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han return 0; } } - *(libtorrent::peer_class_type_filter **)&jresult = new libtorrent::peer_class_type_filter((const libtorrent::peer_class_type_filter &)result); + *(libtorrent::peer_class_type_filter **)&jresult = new libtorrent::peer_class_type_filter(result); return jresult; } @@ -77292,7 +77304,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::torrent_handle **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & is null"); return ; } argp3 = *(libtorrent::remove_flags_t **)&jarg3; @@ -77326,7 +77338,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::torrent_handle **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & is null"); return ; } { @@ -77354,7 +77366,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::settings_pack **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::settings_pack const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::settings_pack const & is null"); return ; } { @@ -77391,7 +77403,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han return 0; } } - *(libtorrent::settings_pack **)&jresult = new libtorrent::settings_pack((const libtorrent::settings_pack &)result); + *(libtorrent::settings_pack **)&jresult = new libtorrent::settings_pack(result); return jresult; } @@ -77520,12 +77532,12 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(std::array< std::int8_t,32 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::array< std::int8_t,32 > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::array< std::int8_t,32 > & is null"); return ; } arg3 = *(std::vector< std::int8_t > **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > & is null"); return ; } { @@ -77559,22 +77571,22 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(std::array< std::int8_t,32 > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::array< std::int8_t,32 > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::array< std::int8_t,32 > & is null"); return ; } arg3 = *(std::array< std::int8_t,64 > **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::array< std::int8_t,64 > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::array< std::int8_t,64 > & is null"); return ; } arg4 = *(libtorrent::entry **)&jarg4; if (!arg4) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry & is null"); return ; } arg5 = *(std::vector< int8_t > **)&jarg5; if (!arg5) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return ; } { @@ -77605,12 +77617,12 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::udp::endpoint **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::udp::endpoint const & is null"); return ; } arg3 = *(libtorrent::entry **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::entry const & is null"); return ; } arg4 = (std::int64_t)jarg4; @@ -77692,7 +77704,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::sha1_hash **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & is null"); return ; } arg3 = (int)jarg3; @@ -77723,7 +77735,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::sha1_hash **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & is null"); return ; } arg3 = (int)jarg3; @@ -77752,7 +77764,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1hand arg1 = *(libtorrent::session_handle **)&jarg1; arg2 = *(libtorrent::sha1_hash **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & is null"); return ; } { @@ -77795,7 +77807,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1han return 0; } } - *(std::vector< int > **)&jresult = new std::vector< int >((const std::vector< int > &)result); + *(std::vector< int > **)&jresult = new std::vector< int >(result); return jresult; } @@ -77860,7 +77872,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_min_1memory_ return 0; } } - *(libtorrent::settings_pack **)&jresult = new libtorrent::settings_pack((const libtorrent::settings_pack &)result); + *(libtorrent::settings_pack **)&jresult = new libtorrent::settings_pack(result); return jresult; } @@ -77882,7 +77894,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_high_1perfor return 0; } } - *(libtorrent::settings_pack **)&jresult = new libtorrent::settings_pack((const libtorrent::settings_pack &)result); + *(libtorrent::settings_pack **)&jresult = new libtorrent::settings_pack(result); return jresult; } @@ -77939,7 +77951,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1session (void)jarg1_; arg1 = *(libtorrent::session_proxy **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::session_proxy const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::session_proxy const & is null"); return 0; } { @@ -77968,7 +77980,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1session (void)jarg1_; arg1 = *(libtorrent::session_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::session_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::session_params const & is null"); return 0; } { @@ -78012,6 +78024,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1session SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1session_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { jlong jresult = 0 ; libtorrent::session *arg1 = 0 ; + std::unique_ptr< libtorrent::session > rvrdeleter1 ; libtorrent::session *result = 0 ; (void)jenv; @@ -78019,9 +78032,10 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1session (void)jarg1_; arg1 = *(libtorrent::session **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::session && reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::session && is null"); return 0; - } + } + rvrdeleter1.reset(arg1); { try { result = (libtorrent::session *)new libtorrent::session((libtorrent::session &&)*arg1); @@ -78078,7 +78092,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1abo return 0; } } - *(libtorrent::session_proxy **)&jresult = new libtorrent::session_proxy((const libtorrent::session_proxy &)result); + *(libtorrent::session_proxy **)&jresult = new libtorrent::session_proxy(result); return jresult; } @@ -78674,7 +78688,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1torr return 0; } } - *(libtorrent::entry **)&jresult = new libtorrent::entry((const libtorrent::entry &)result); + *(libtorrent::entry **)&jresult = new libtorrent::entry(result); return jresult; } @@ -78773,7 +78787,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1torre } arg3 = *(libtorrent::sha1_hash **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha1_hash const & is null"); return ; } { @@ -79272,7 +79286,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1torre arg1 = *(libtorrent::create_torrent **)&jarg1; arg2 = *(std::vector< std::int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return ; } { @@ -79306,12 +79320,12 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1torre arg3 = (int)jarg3; arg4 = *(libtorrent::sha256_hash **)&jarg4; if (!arg4) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha256_hash const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::sha256_hash const & is null"); return ; } { try { - libtorrent_create_torrent_set_hash2(arg1,arg2,arg3,(libtorrent::digest32< 256 > const &)*arg4); + libtorrent_create_torrent_set_hash2(arg1,SWIG_STD_MOVE(arg2),arg3,(libtorrent::digest32< 256 > const &)*arg4); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return ; @@ -79362,7 +79376,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >(result); return jresult; } @@ -79412,7 +79426,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1f arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_create_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_create_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -79446,7 +79460,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1f arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_create_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_create_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -79480,7 +79494,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_create_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_create_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -79489,7 +79503,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >(result); return jresult; } @@ -79514,7 +79528,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_create_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_create_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -79523,7 +79537,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >(result); return jresult; } @@ -79548,7 +79562,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1flag arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_create_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_create_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -79557,7 +79571,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >(result); return jresult; } @@ -79582,7 +79596,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >(result); return jresult; } @@ -79631,7 +79645,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_create_1flag return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::create_flags_tag >(result); return jresult; } @@ -79796,7 +79810,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_session_1sta return 0; } } - *(std::vector< libtorrent::stats_metric > **)&jresult = new std::vector< libtorrent::stats_metric >((const std::vector< libtorrent::stats_metric > &)result); + *(std::vector< libtorrent::stats_metric > **)&jresult = new std::vector< libtorrent::stats_metric >(result); return jresult; } @@ -79833,7 +79847,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_make_1magn (void)jarg1_; arg1 = *(libtorrent::add_torrent_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & is null"); return 0; } { @@ -79862,7 +79876,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_make_1magn (void)jarg1_; arg1 = *(libtorrent::torrent_handle **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_handle const & is null"); return 0; } { @@ -79891,7 +79905,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_make_1magn (void)jarg1_; arg1 = *(libtorrent::torrent_info **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_info const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::torrent_info const & is null"); return 0; } { @@ -79935,7 +79949,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_generate_1 arg5 = (int)jarg5; { try { - result = libtorrent::generate_fingerprint(arg1,arg2,arg3,arg4,arg5); + result = libtorrent::generate_fingerprint(SWIG_STD_MOVE(arg1),arg2,arg3,arg4,arg5); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -79972,7 +79986,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_generate_1 arg4 = (int)jarg4; { try { - result = libtorrent::generate_fingerprint(arg1,arg2,arg3,arg4); + result = libtorrent::generate_fingerprint(SWIG_STD_MOVE(arg1),arg2,arg3,arg4); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -80007,7 +80021,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_generate_1 arg3 = (int)jarg3; { try { - result = libtorrent::generate_fingerprint(arg1,arg2,arg3); + result = libtorrent::generate_fingerprint(SWIG_STD_MOVE(arg1),arg2,arg3); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -80040,7 +80054,7 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_generate_1 arg2 = (int)jarg2; { try { - result = libtorrent::generate_fingerprint(arg1,arg2); + result = libtorrent::generate_fingerprint(SWIG_STD_MOVE(arg1),arg2); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -80067,12 +80081,12 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_read_1resume (void)jarg2_; arg1 = *(libtorrent::bdecode_node **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & is null"); return 0; } arg2 = *(libtorrent::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return 0; } arg3 = (int)jarg3; @@ -80087,7 +80101,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_read_1resume return 0; } } - *(libtorrent::add_torrent_params **)&jresult = new libtorrent::add_torrent_params((const libtorrent::add_torrent_params &)result); + *(libtorrent::add_torrent_params **)&jresult = new libtorrent::add_torrent_params(result); return jresult; } @@ -80104,12 +80118,12 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_read_1resume (void)jarg2_; arg1 = *(libtorrent::bdecode_node **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::bdecode_node const & is null"); return 0; } arg2 = *(libtorrent::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return 0; } { @@ -80123,7 +80137,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_read_1resume return 0; } } - *(libtorrent::add_torrent_params **)&jresult = new libtorrent::add_torrent_params((const libtorrent::add_torrent_params &)result); + *(libtorrent::add_torrent_params **)&jresult = new libtorrent::add_torrent_params(result); return jresult; } @@ -80167,7 +80181,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >(result); return jresult; } @@ -80217,7 +80231,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1to arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_write_torrent_flags_tag_Sg__eq(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_write_torrent_flags_tag_Sg__eq(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -80251,7 +80265,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1to arg2 = *argp2; { try { - result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_write_torrent_flags_tag_Sg__ne(arg1,arg2); + result = (bool)libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_write_torrent_flags_tag_Sg__ne(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -80285,7 +80299,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_write_torrent_flags_tag_Sg__or_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_write_torrent_flags_tag_Sg__or_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -80294,7 +80308,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >(result); return jresult; } @@ -80319,7 +80333,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_write_torrent_flags_tag_Sg__and_(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_write_torrent_flags_tag_Sg__and_(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -80328,7 +80342,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >(result); return jresult; } @@ -80353,7 +80367,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre arg2 = *argp2; { try { - result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_write_torrent_flags_tag_Sg__xor(arg1,arg2); + result = libtorrent_flags_bitfield_flag_Sl_std_uint32_t_Sc_libtorrent_write_torrent_flags_tag_Sg__xor(arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -80362,7 +80376,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >(result); return jresult; } @@ -80387,7 +80401,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >(result); return jresult; } @@ -80436,7 +80450,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre return 0; } } - *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >((const libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > &)result); + *(libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag > **)&jresult = new libtorrent::flags::bitfield_flag< std::uint32_t,libtorrent::write_torrent_flags_tag >(result); return jresult; } @@ -80471,7 +80485,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1resum (void)jarg1_; arg1 = *(libtorrent::add_torrent_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & is null"); return 0; } { @@ -80485,7 +80499,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1resum return 0; } } - *(libtorrent::entry **)&jresult = new libtorrent::entry((const libtorrent::entry &)result); + *(libtorrent::entry **)&jresult = new libtorrent::entry(result); return jresult; } @@ -80536,7 +80550,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre (void)jarg1_; arg1 = *(libtorrent::add_torrent_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & is null"); return 0; } { @@ -80550,7 +80564,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre return 0; } } - *(libtorrent::entry **)&jresult = new libtorrent::entry((const libtorrent::entry &)result); + *(libtorrent::entry **)&jresult = new libtorrent::entry(result); return jresult; } @@ -80568,7 +80582,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre (void)jarg2_; arg1 = *(libtorrent::add_torrent_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & is null"); return 0; } argp2 = *(libtorrent::write_torrent_flags_t **)&jarg2; @@ -80579,7 +80593,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre arg2 = *argp2; { try { - result = libtorrent::write_torrent_file((libtorrent::add_torrent_params const &)*arg1,arg2); + result = libtorrent::write_torrent_file((libtorrent::add_torrent_params const &)*arg1,SWIG_STD_MOVE(arg2)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -80588,7 +80602,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre return 0; } } - *(libtorrent::entry **)&jresult = new libtorrent::entry((const libtorrent::entry &)result); + *(libtorrent::entry **)&jresult = new libtorrent::entry(result); return jresult; } @@ -80723,7 +80737,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_new_1web_1se (void)jarg1_; arg1 = *(libtorrent::web_seed_entry **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::web_seed_entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::web_seed_entry const & is null"); return 0; } { @@ -80755,7 +80769,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_web_1seed arg1 = *(libtorrent::web_seed_entry **)&jarg1; arg2 = *(libtorrent::web_seed_entry **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::web_seed_entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::web_seed_entry const & is null"); return 0; } { @@ -80787,7 +80801,7 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_web_1seed arg1 = *(libtorrent::web_seed_entry **)&jarg1; arg2 = *(libtorrent::web_seed_entry **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::web_seed_entry const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::web_seed_entry const & is null"); return 0; } { @@ -81046,7 +81060,7 @@ SWIGEXPORT jint JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_find_1metric_ jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); { try { - result = (int)find_metric_idx_ex(arg1); + result = (int)find_metric_idx_ex(SWIG_STD_MOVE(arg1)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -81143,7 +81157,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1cre return 0; } } - *(std::array< std::int8_t,32 > **)&jresult = new std::array< std::int8_t,32 >((const std::array< std::int8_t,32 > &)result); + *(std::array< std::int8_t,32 > **)&jresult = new std::array< std::int8_t,32 >(result); return jresult; } @@ -81158,7 +81172,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1cre (void)jarg1_; arg1 = *(std::vector< int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } { @@ -81172,7 +81186,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1cre return 0; } } - *(std::pair< std::vector< int8_t >,std::vector< int8_t > > **)&jresult = new std::pair< std::vector< int8_t >,std::vector< int8_t > >((const std::pair< std::vector< int8_t >,std::vector< int8_t > > &)result); + *(std::pair< std::vector< int8_t >,std::vector< int8_t > > **)&jresult = new std::pair< std::vector< int8_t >,std::vector< int8_t > >(result); return jresult; } @@ -81191,17 +81205,17 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1sig (void)jarg3_; arg1 = *(std::vector< int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } arg2 = *(std::vector< int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } arg3 = *(std::vector< int8_t > **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } { @@ -81215,7 +81229,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1sig return 0; } } - *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >((const std::vector< int8_t > &)result); + *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >(result); return jresult; } @@ -81234,17 +81248,17 @@ SWIGEXPORT jboolean JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1 (void)jarg3_; arg1 = *(std::vector< int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } arg2 = *(std::vector< int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } arg3 = *(std::vector< int8_t > **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } { @@ -81275,12 +81289,12 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1add (void)jarg2_; arg1 = *(std::vector< int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } arg2 = *(std::vector< int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } { @@ -81294,7 +81308,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1add return 0; } } - *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >((const std::vector< int8_t > &)result); + *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >(result); return jresult; } @@ -81311,12 +81325,12 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1add (void)jarg2_; arg1 = *(std::vector< int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } arg2 = *(std::vector< int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } { @@ -81330,7 +81344,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1add return 0; } } - *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >((const std::vector< int8_t > &)result); + *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >(result); return jresult; } @@ -81347,12 +81361,12 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1key (void)jarg2_; arg1 = *(std::vector< int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } arg2 = *(std::vector< int8_t > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< int8_t > & is null"); return 0; } { @@ -81366,7 +81380,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_ed25519_1key return 0; } } - *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >((const std::vector< int8_t > &)result); + *(std::vector< int8_t > **)&jresult = new std::vector< int8_t >(result); return jresult; } @@ -81821,7 +81835,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_enum_1net_1i return 0; } } - *(std::vector< ip_interface > **)&jresult = new std::vector< ip_interface >((const std::vector< ip_interface > &)result); + *(std::vector< ip_interface > **)&jresult = new std::vector< ip_interface >(result); return jresult; } @@ -81846,7 +81860,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_enum_1routes return 0; } } - *(std::vector< ip_route > **)&jresult = new std::vector< ip_route >((const std::vector< ip_route > &)result); + *(std::vector< ip_route > **)&jresult = new std::vector< ip_route >(result); return jresult; } @@ -81863,12 +81877,12 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_get_1gateway (void)jarg2_; arg1 = *(ip_interface **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "ip_interface const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "ip_interface const & is null"); return 0; } arg2 = *(std::vector< ip_route > **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_route > & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< ip_route > & is null"); return 0; } { @@ -81882,7 +81896,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_get_1gateway return 0; } } - *(libtorrent::address **)&jresult = new libtorrent::address((const libtorrent::address &)result); + *(libtorrent::address **)&jresult = new libtorrent::address(result); return jresult; } @@ -81909,12 +81923,12 @@ SWIGEXPORT jstring JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_device_1fo arg2 = *argp2; arg3 = *(boost::system::error_code **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "boost::system::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "boost::system::error_code & is null"); return 0; } { try { - result = device_for_address(arg1,arg2,*arg3); + result = device_for_address(arg1,SWIG_STD_MOVE(arg2),*arg3); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -82086,7 +82100,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_list_1files_ arg3 = *argp3; { try { - result = list_files_ex((std::string const &)*arg1,arg2,arg3); + result = list_files_ex((std::string const &)*arg1,arg2,SWIG_STD_MOVE(arg3)); } catch (std::exception& e) { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, e.what()); return 0; @@ -82095,7 +82109,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_list_1files_ return 0; } } - *(std::vector< libtorrent::create_file_entry > **)&jresult = new std::vector< libtorrent::create_file_entry >((const std::vector< libtorrent::create_file_entry > &)result); + *(std::vector< libtorrent::create_file_entry > **)&jresult = new std::vector< libtorrent::create_file_entry >(result); return jresult; } @@ -82219,7 +82233,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_set_1piece_1h (void)jarg4_; arg1 = *(libtorrent::create_torrent **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::create_torrent & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::create_torrent & is null"); return ; } if(!jarg2) { @@ -82234,7 +82248,7 @@ SWIGEXPORT void JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_set_1piece_1h arg3 = *(set_piece_hashes_listener **)&jarg3; arg4 = *(libtorrent::error_code **)&jarg4; if (!arg4) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return ; } { @@ -82265,17 +82279,17 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_read_1resume (void)jarg3_; arg1 = *(std::vector< std::int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return 0; } arg2 = *(libtorrent::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return 0; } arg3 = *(libtorrent::load_torrent_limits **)&jarg3; if (!arg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::load_torrent_limits const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::load_torrent_limits const & is null"); return 0; } { @@ -82289,7 +82303,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_read_1resume return 0; } } - *(libtorrent::add_torrent_params **)&jresult = new libtorrent::add_torrent_params((const libtorrent::add_torrent_params &)result); + *(libtorrent::add_torrent_params **)&jresult = new libtorrent::add_torrent_params(result); return jresult; } @@ -82306,12 +82320,12 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_read_1resume (void)jarg2_; arg1 = *(std::vector< std::int8_t > **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< std::int8_t > const & is null"); return 0; } arg2 = *(libtorrent::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return 0; } { @@ -82325,7 +82339,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_read_1resume return 0; } } - *(libtorrent::add_torrent_params **)&jresult = new libtorrent::add_torrent_params((const libtorrent::add_torrent_params &)result); + *(libtorrent::add_torrent_params **)&jresult = new libtorrent::add_torrent_params(result); return jresult; } @@ -82340,7 +82354,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1resum (void)jarg1_; arg1 = *(libtorrent::add_torrent_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & is null"); return 0; } { @@ -82354,7 +82368,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1resum return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -82369,7 +82383,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre (void)jarg1_; arg1 = *(libtorrent::add_torrent_params **)&jarg1; if (!arg1) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::add_torrent_params const & is null"); return 0; } { @@ -82383,7 +82397,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_write_1torre return 0; } } - *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >((const std::vector< std::int8_t > &)result); + *(std::vector< std::int8_t > **)&jresult = new std::vector< std::int8_t >(result); return jresult; } @@ -82408,7 +82422,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_parse_1magne jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); arg2 = *(libtorrent::error_code **)&jarg2; if (!arg2) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & reference is null"); + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "libtorrent::error_code & is null"); return 0; } { @@ -82422,7 +82436,7 @@ SWIGEXPORT jlong JNICALL Java_org_libtorrent4j_swig_libtorrent_1jni_parse_1magne return 0; } } - *(libtorrent::add_torrent_params **)&jresult = new libtorrent::add_torrent_params((const libtorrent::add_torrent_params &)result); + *(libtorrent::add_torrent_params **)&jresult = new libtorrent::add_torrent_params(result); return jresult; } diff --git a/swig/libtorrent_jni.h b/swig/libtorrent_jni.h index 5a9bb8b3..f7b11e07 100644 --- a/swig/libtorrent_jni.h +++ b/swig/libtorrent_jni.h @@ -1,11 +1,9 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * This file is not intended to be easily readable and contains a number of - * coding conventions designed to improve portability and efficiency. Do not make - * changes to this file unless you know what you are doing--modify the SWIG - * interface file instead. + * Do not make changes to this file unless you know what you are doing - modify + * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ #ifndef SWIG_libtorrent_WRAP_H_ diff --git a/swig/run-swig.sh b/swig/run-swig.sh index 54ec1958..06636326 100755 --- a/swig/run-swig.sh +++ b/swig/run-swig.sh @@ -57,9 +57,9 @@ swig -c++ -java -o libtorrent_jni.cpp \ -DTORRENT_DEPRECATED_EXPORT="" \ -DTORRENT_DEPRECATED_MEMBER="" \ -DTORRENT_DEPRECATED_ENUM="" \ - -DTORRENT_DEPRECATED \ + -DTORRENT_DEPRECATED="" \ -DTORRENT_EXPORT="" \ - -DTORRENT_UNEXPORT \ + -DTORRENT_UNEXPORT="" \ -DTORRENT_EXTRA_EXPORT="" \ -DTORRENT_FORMAT\(x,y\)="" \ -DNDEBUG=1 \