fix export for settings_map symbol for python binding

This commit is contained in:
Arvid Norberg 2012-02-25 08:02:52 +00:00
parent f221b3d931
commit 3ef9190b01
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)