fix export for settings_map symbol for python binding
This commit is contained in:
parent
f221b3d931
commit
3ef9190b01
|
@ -177,7 +177,7 @@ namespace libtorrent
|
|||
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
|
||||
// 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},
|
||||
|
||||
TORRENT_EXPORT bencode_map_entry session_settings_map[] =
|
||||
bencode_map_entry session_settings_map[] =
|
||||
{
|
||||
TORRENT_SETTING(std_string, user_agent)
|
||||
TORRENT_SETTING(integer, tracker_completion_timeout)
|
||||
|
|
Loading…
Reference in New Issue