diff --git a/ChangeLog b/ChangeLog index 7aa8ff857..e11c76256 100644 --- a/ChangeLog +++ b/ChangeLog @@ -38,6 +38,7 @@ release 0.14.2 * made name, comment and created by also be subject to utf-8 error correction (filenames already were) * fixed dead-lock when settings DHT proxy + * added missing export directives to lazy_entry release 0.14.1 diff --git a/include/libtorrent/lazy_entry.hpp b/include/libtorrent/lazy_entry.hpp index 01d1ac3ca..3745535ef 100644 --- a/include/libtorrent/lazy_entry.hpp +++ b/include/libtorrent/lazy_entry.hpp @@ -35,20 +35,22 @@ POSSIBILITY OF SUCH DAMAGE. #include #include -#include "libtorrent/assert.hpp" -#include "libtorrent/size_type.hpp" #include #include +#include "libtorrent/config.hpp" +#include "libtorrent/assert.hpp" +#include "libtorrent/size_type.hpp" namespace libtorrent { struct lazy_entry; - char const* parse_int(char const* start, char const* end, char delimiter, boost::int64_t& val); + TORRENT_EXPORT char const* parse_int(char const* start, char const* end + , char delimiter, boost::int64_t& val); // return 0 = success - int lazy_bdecode(char const* start, char const* end, lazy_entry& ret, int depth_limit = 1000); + TORRENT_EXPORT int lazy_bdecode(char const* start, char const* end, lazy_entry& ret, int depth_limit = 1000); - struct lazy_entry + struct TORRENT_EXPORT lazy_entry { enum entry_type_t { @@ -225,7 +227,7 @@ namespace libtorrent char const* m_end; }; - std::ostream& operator<<(std::ostream& os, lazy_entry const& e); + TORRENT_EXPORT std::ostream& operator<<(std::ostream& os, lazy_entry const& e); }