Replace old command call functions with the new one taking torrent::Objects.

This commit is contained in:
rakshasa
2012-05-04 22:33:26 +09:00
parent fb75510c0f
commit d2d09d97f8
4 changed files with 31 additions and 122 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ void initialize_commands();
torrent::raw_string::from_c_str(key), tr1::placeholders::_2));
#define CMD2_FUNC_SINGLE(key, cmds) \
CMD2_ANY(key, tr1::bind(&rpc::command_function_call, torrent::raw_string::from_c_str(cmds), \
CMD2_ANY(key, tr1::bind(&rpc::command_function_call_object, torrent::Object(torrent::raw_string::from_c_str(cmds)), \
tr1::placeholders::_1, tr1::placeholders::_2));
#define CMD2_REDIRECT(from_key, to_key) \