added missing export directives to lazy_entry
This commit is contained in:
parent
b0a72f6809
commit
ab05011f1d
|
@ -38,6 +38,7 @@ release 0.14.2
|
||||||
* made name, comment and created by also be subject to utf-8 error
|
* made name, comment and created by also be subject to utf-8 error
|
||||||
correction (filenames already were)
|
correction (filenames already were)
|
||||||
* fixed dead-lock when settings DHT proxy
|
* fixed dead-lock when settings DHT proxy
|
||||||
|
* added missing export directives to lazy_entry
|
||||||
|
|
||||||
release 0.14.1
|
release 0.14.1
|
||||||
|
|
||||||
|
|
|
@ -35,20 +35,22 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "libtorrent/assert.hpp"
|
|
||||||
#include "libtorrent/size_type.hpp"
|
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include "libtorrent/config.hpp"
|
||||||
|
#include "libtorrent/assert.hpp"
|
||||||
|
#include "libtorrent/size_type.hpp"
|
||||||
|
|
||||||
namespace libtorrent
|
namespace libtorrent
|
||||||
{
|
{
|
||||||
struct lazy_entry;
|
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
|
// 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
|
enum entry_type_t
|
||||||
{
|
{
|
||||||
|
@ -225,7 +227,7 @@ namespace libtorrent
|
||||||
char const* m_end;
|
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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue