diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-06-24 15:23:51 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-06-24 15:23:51 +0200 |
commit | 51b50882d2906b83c5275c732a56ff333ae6696f (patch) | |
tree | 414598b8e050706c72277fb72b7294e8962bd6b5 /modules/tools | |
parent | cace251b73a2902fbdade9e8cd7ae0f52f0e18e1 (diff) |
Working on rpc translation
Diffstat (limited to 'modules/tools')
-rw-r--r-- | modules/tools/c++/c_rpc_gen_iface.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/tools/c++/c_rpc_gen_iface.hpp b/modules/tools/c++/c_rpc_gen_iface.hpp new file mode 100644 index 0000000..a4d0a6f --- /dev/null +++ b/modules/tools/c++/c_rpc_gen_iface.hpp @@ -0,0 +1,22 @@ +#pragma once + +namespace saw { +namespace binding { +/** + * Language Binding for RPC Interfaces + */ +struct RpcC {}; +} + +namespace impl { +template<typename T, uint64_t L> +struct lang_bind<schema::Primitive<T,L>, binding::RpcC> { + using Schema = schema::Primitive<T,L>; + + static error_or<void> generate(const language_binding_conf& cfg, language_binding_state& state){ + + return make_error<err::not_implemented>(); + } +}; +} +} |