diff options
-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>(); + } +}; +} +} |