diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-11-07 17:49:12 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-11-07 17:49:12 +0100 |
| commit | beed9c20da5fbacf8626e2d4b747bb84ae7f6d93 (patch) | |
| tree | 3835bcdc4180b7e2c68a51f8b1e1c759f298bd1d /docs/data/remote/rpc_function_id.json | |
| parent | 25b8bc7c4bbd914f27d745bea07e0bc66c9841b1 (diff) | |
| download | forstio-forstio-beed9c20da5fbacf8626e2d4b747bb84ae7f6d93.tar.gz | |
Moved docs around
Diffstat (limited to 'docs/data/remote/rpc_function_id.json')
| -rw-r--r-- | docs/data/remote/rpc_function_id.json | 40 |
1 files changed, 40 insertions, 0 deletions
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<Lit>::apply(0u)", + "brief_description": "crc32 of the member name." + } + } +} |
