Laurens Tromp / mbed-rpc

Fork of mbed-rpc by mbed official

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*);