@@ -76,7 +76,7 @@ EXPORT lt::alert const* wait_for_alert(
76
76
EXPORT void print_ses_rate (float time
77
77
, lt::torrent_status const * st1
78
78
, lt::torrent_status const * st2
79
- , lt::torrent_status const * st3 = NULL );
79
+ , lt::torrent_status const * st3 = nullptr );
80
80
81
81
EXPORT bool print_alerts (lt::session& ses, char const * name
82
82
, bool allow_no_torrents = false
@@ -96,7 +96,7 @@ EXPORT std::shared_ptr<lt::torrent_info> make_torrent(const int file_sizes[]
96
96
EXPORT void create_random_files (std::string const & path, const int file_sizes[]
97
97
, int num_files, libtorrent::file_storage* fs = nullptr );
98
98
99
- EXPORT std::shared_ptr<lt::torrent_info> create_torrent (std::ostream* file = 0
99
+ EXPORT std::shared_ptr<lt::torrent_info> create_torrent (std::ostream* file = nullptr
100
100
, char const * name = " temporary" , int piece_size = 16 * 1024 , int num_pieces = 13
101
101
, bool add_tracker = true , std::string ssl_certificate = " " );
102
102
@@ -106,9 +106,11 @@ EXPORT std::tuple<lt::torrent_handle
106
106
setup_transfer (lt::session* ses1, lt::session* ses2
107
107
, lt::session* ses3, bool clear_files, bool use_metadata_transfer = true
108
108
, bool connect = true , std::string suffix = " " , int piece_size = 16 * 1024
109
- , std::shared_ptr<lt::torrent_info>* torrent = 0 , bool super_seeding = false
110
- , lt::add_torrent_params const * p = 0 , bool stop_lsd = true , bool use_ssl_ports = false
111
- , std::shared_ptr<lt::torrent_info>* torrent2 = 0 );
109
+ , std::shared_ptr<lt::torrent_info>* torrent = nullptr
110
+ , bool super_seeding = false
111
+ , lt::add_torrent_params const * p = nullptr
112
+ , bool stop_lsd = true , bool use_ssl_ports = false
113
+ , std::shared_ptr<lt::torrent_info>* torrent2 = nullptr );
112
114
113
115
EXPORT int start_web_server (bool ssl = false , bool chunked = false
114
116
, bool keepalive = true , int min_interval = 30 );
0 commit comments