forked from premiere/premiere-libtorrent
add default value for flags argument to add_files() in python bindings
This commit is contained in:
parent
fc1b44b560
commit
7189fc6332
|
@ -109,7 +109,7 @@ void bind_create_torrent()
|
||||||
.def("priv", &create_torrent::priv)
|
.def("priv", &create_torrent::priv)
|
||||||
;
|
;
|
||||||
|
|
||||||
def("add_files", add_files0);
|
def("add_files", add_files0, (arg("fs"), arg("path"), arg("flags") = 0));
|
||||||
def("set_piece_hashes", set_piece_hashes0);
|
def("set_piece_hashes", set_piece_hashes0);
|
||||||
def("set_piece_hashes", set_piece_hashes_callback);
|
def("set_piece_hashes", set_piece_hashes_callback);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue