fix export for settings_map symbol for python binding
This commit is contained in:
@@ -177,7 +177,7 @@ namespace libtorrent
|
|||||||
initialize_timer();
|
initialize_timer();
|
||||||
};
|
};
|
||||||
|
|
||||||
std::pair<bencode_map_entry*, int> settings_map();
|
TORRENT_EXPORT std::pair<bencode_map_entry*, int> settings_map();
|
||||||
|
|
||||||
// this is the link between the main thread and the
|
// this is the link between the main thread and the
|
||||||
// thread started to run the main downloader loop
|
// thread started to run the main downloader loop
|
||||||
|
@@ -278,7 +278,7 @@ namespace aux {
|
|||||||
|
|
||||||
#define TORRENT_SETTING(t, x) {#x, offsetof(session_settings,x), t},
|
#define TORRENT_SETTING(t, x) {#x, offsetof(session_settings,x), t},
|
||||||
|
|
||||||
TORRENT_EXPORT bencode_map_entry session_settings_map[] =
|
bencode_map_entry session_settings_map[] =
|
||||||
{
|
{
|
||||||
TORRENT_SETTING(std_string, user_agent)
|
TORRENT_SETTING(std_string, user_agent)
|
||||||
TORRENT_SETTING(integer, tracker_completion_timeout)
|
TORRENT_SETTING(integer, tracker_completion_timeout)
|
||||||
|
Reference in New Issue
Block a user