From beed9c20da5fbacf8626e2d4b747bb84ae7f6d93 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sat, 7 Nov 2026 17:49:12 +0100 Subject: Moved docs around --- docs/data/remote/rpc_function_id.json | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 docs/data/remote/rpc_function_id.json (limited to 'docs/data/remote/rpc_function_id.json') diff --git a/docs/data/remote/rpc_function_id.json b/docs/data/remote/rpc_function_id.json new file mode 100644 index 0000000..b5788f4 --- /dev/null +++ b/docs/data/remote/rpc_function_id.json @@ -0,0 +1,40 @@ +{ + "format": 1, + "id": "saw-rpc_function_id", + "kind": "struct", + "name": "rpc_function_id", + "namespace": "saw", + "module": "remote", + "header": "modules/remote/c++/remote.hpp", + "brief_description": "Identifier of an interface function on the wire.", + "detailed_description": [ + [ + "Keyed on the member name rather than on its index, so reordering an interface doesn't silently rebind calls between two versions." + ], + [ + "This is the number a backend hands to call_by_id of the", + {"name": "rpc_server", "id": "saw-rpc_server-loopback"}, + "when the called function arrives as data instead of as a template argument." + ] + ], + "templates": [ + { + "name": "Lit", + "kind": "non_type", + "type": "string_literal", + "brief_description": "Name of the interface member." + } + ], + "attributes": { + "saw-rpc_function_id-value": { + "id": "saw-rpc_function_id-value", + "name": "value", + "type": ["uint32_t"], + "visibility": "public", + "static": true, + "constexpr": true, + "initializer": "hash_literal::apply(0u)", + "brief_description": "crc32 of the member name." + } + } +} -- cgit v1.3.1