forked from premiere/premiere-libtorrent
exporting min_memory_usage() and high_performance_seed() functions from DLL
This commit is contained in:
parent
c5fb865071
commit
315ff0bb83
|
@ -83,8 +83,8 @@ namespace libtorrent
|
||||||
class upnp;
|
class upnp;
|
||||||
class alert;
|
class alert;
|
||||||
|
|
||||||
session_settings min_memory_usage();
|
TORRENT_EXPORT session_settings min_memory_usage();
|
||||||
session_settings high_performance_seed();
|
TORRENT_EXPORT session_settings high_performance_seed();
|
||||||
|
|
||||||
void TORRENT_EXPORT TORRENT_CFG();
|
void TORRENT_EXPORT TORRENT_CFG();
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ namespace libtorrent
|
||||||
// this function returns a session_settings object
|
// this function returns a session_settings object
|
||||||
// which will optimize libtorrent for minimum memory
|
// which will optimize libtorrent for minimum memory
|
||||||
// usage, with no consideration of performance.
|
// usage, with no consideration of performance.
|
||||||
session_settings min_memory_usage()
|
TORRENT_EXPORT session_settings min_memory_usage()
|
||||||
{
|
{
|
||||||
session_settings set;
|
session_settings set;
|
||||||
|
|
||||||
|
@ -178,7 +178,7 @@ namespace libtorrent
|
||||||
return set;
|
return set;
|
||||||
}
|
}
|
||||||
|
|
||||||
session_settings high_performance_seed()
|
TORRENT_EXPORT session_settings high_performance_seed()
|
||||||
{
|
{
|
||||||
session_settings set;
|
session_settings set;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue