Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-rpc by
Diff: rpc.h
- Revision:
- 7:496c48896d9e
- Parent:
- 6:be730ea7a82a
--- a/rpc.h Fri Jan 31 13:52:45 2014 +0000
+++ b/rpc.h Tue Feb 04 12:41:57 2014 +0000
@@ -237,8 +237,6 @@
result->putData<R>(res);
}
-//{"write", rpc_method_caller<int, RpcI2C, int, const char *, int , bool, &RpcI2C::write>},
-
/* Function rpc_function caller
*/
template<typename R, R(*func)()>
@@ -292,8 +290,6 @@
result->putData<R>(res);
}
-//zaza
-
/* Function rpc_method_caller
*/
template<typename R, class T, typename A1, typename A2, typename A3, typename A4, R(T::*member)(A1, A2, A3, A4)>
@@ -305,7 +301,8 @@
R res = (static_cast<T*>(this_ptr)->*member)(arg1, arg2, arg3, arg4);
result->putData<R>(res);
-}//zaza
+}
+
struct rpc_method {
const char *name;
typedef void (*method_caller_t)(RPC*, Arguments*, Reply*);
