mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-15 14:42:30 +00:00
* Return torrent::Object instead of reference from
utils::VariableMap::call_command(...). * More cleanup of the command calls. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@895 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -46,8 +46,8 @@ namespace utils {
|
||||
|
||||
// By using a static array we avoid allocating the variables on the
|
||||
// heap. This should reduce memory use and improve cache locality.
|
||||
#define COMMAND_SLOTS_SIZE 18
|
||||
#define COMMAND_VARIABLES_SIZE 23
|
||||
#define COMMAND_SLOTS_SIZE 24
|
||||
#define COMMAND_VARIABLES_SIZE 24
|
||||
|
||||
extern utils::CommandSlot commandSlots[COMMAND_SLOTS_SIZE];
|
||||
extern utils::CommandSlot* commandSlotsItr;
|
||||
@@ -57,6 +57,7 @@ extern utils::CommandVariable* commandVariablesItr;
|
||||
void initialize_variables();
|
||||
void initialize_download_variables();
|
||||
void initialize_command_events();
|
||||
void initialize_command_network();
|
||||
void initialize_command_ui();
|
||||
|
||||
void initialize_commands();
|
||||
|
||||
Reference in New Issue
Block a user