regenerated docs

This commit is contained in:
Arvid Norberg 2013-08-02 09:32:41 +00:00
parent 7ad58eba93
commit 755cdd00ff
3 changed files with 334 additions and 530 deletions

View File

@ -51,7 +51,7 @@ all: html
todo.html:gen_todo.py ../src/*.cpp ../include/libtorrent/*.hpp todo.html:gen_todo.py ../src/*.cpp ../include/libtorrent/*.hpp
python gen_todo.py python gen_todo.py
reference.rst reference-Core.rst reference-String.rst reference-Storage.rst:gen_reference_doc.py ../include/libtorrent/*.hpp reference.rst reference-Plugins reference-Core.rst reference-String.rst reference-Storage.rst:gen_reference_doc.py ../include/libtorrent/*.hpp
python gen_reference_doc.py python gen_reference_doc.py
%.epub:%.rst %.epub:%.rst

File diff suppressed because it is too large Load Diff

View File

@ -210,7 +210,10 @@ namespace libtorrent
TORRENT_EXPORT void set_piece_hashes(create_torrent& t, std::string const& p TORRENT_EXPORT void set_piece_hashes(create_torrent& t, std::string const& p
, boost::function<void(int)> f, error_code& ec); , boost::function<void(int)> f, error_code& ec);
inline void set_piece_hashes(create_torrent& t, std::string const& p, error_code& ec)
{
set_piece_hashes(t, p, detail::nop, ec);
}
#ifndef BOOST_NO_EXCEPTIONS #ifndef BOOST_NO_EXCEPTIONS
template <class Fun> template <class Fun>
void set_piece_hashes(create_torrent& t, std::string const& p, Fun f) void set_piece_hashes(create_torrent& t, std::string const& p, Fun f)
@ -219,7 +222,6 @@ namespace libtorrent
set_piece_hashes(t, p, f, ec); set_piece_hashes(t, p, f, ec);
if (ec) throw libtorrent_exception(ec); if (ec) throw libtorrent_exception(ec);
} }
inline void set_piece_hashes(create_torrent& t, std::string const& p) inline void set_piece_hashes(create_torrent& t, std::string const& p)
{ {
error_code ec; error_code ec;
@ -228,11 +230,6 @@ namespace libtorrent
} }
#endif #endif
inline void set_piece_hashes(create_torrent& t, std::string const& p, error_code& ec)
{
set_piece_hashes(t, p, detail::nop, ec);
}
#if TORRENT_USE_WSTRING #if TORRENT_USE_WSTRING
// wstring versions // wstring versions