From 6ba50435265668967610cfb97692a26c9e0aa198 Mon Sep 17 00:00:00 2001 From: Roker Date: Wed, 29 Nov 2017 23:16:54 +0100 Subject: [PATCH] update documentation --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b6d623..8a5e830 100644 --- a/README.md +++ b/README.md @@ -283,9 +283,12 @@ rules and definitions to take into account. ### Definitions -* The `FunctionMap function` in `json-adapter.cc` defines which functions +* The `FunctionMap function` in `ev_server.cc` defines which functions are callable via the JSON-RPC interface. The existing entries show the syntax of that map. + Non-static member functions can be called, too. Thanks to std::function<> + a member function `Foo::func(Params...)` is handled like a free-standing + function `func(Foo* f, Params...)`. * For each type there must exist specializations of the template classes "In" (for input parameters) and "Out" (for output parameters).