diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-29 01:47:21 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-29 01:47:21 +0100 |
commit | 0050a4d59297604f4e692e4657bd34b1ec3a2474 (patch) | |
tree | f227879c31a244028e13f30979f02c31b0696e7e /modules/tools/c++/c_gen_iface.hpp | |
parent | 3fb2fa91fb0e0c70bb517459e2ecb44ea2fc8b31 (diff) |
tools: Working towards struct gen
Diffstat (limited to 'modules/tools/c++/c_gen_iface.hpp')
-rw-r--r-- | modules/tools/c++/c_gen_iface.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/tools/c++/c_gen_iface.hpp b/modules/tools/c++/c_gen_iface.hpp index 96e8060..e748d24 100644 --- a/modules/tools/c++/c_gen_iface.hpp +++ b/modules/tools/c++/c_gen_iface.hpp @@ -485,6 +485,12 @@ struct lang_bind<schema::Primitive<T,L>, binding::SyncC> { template<typename... V, string_literal... K> struct lang_bind<schema::Struct<schema::Member<V,K>...>, binding::SyncC> { using Schema = schema::Struct<schema::Member<V,K>...>; + + template<uint64_t i> + static error_or<void> generate_translation_func(std::string& buff, const std::string_view& prefix, bool c_to_cpp){ + + return void_t{}; + } template<uint64_t i> static error_or<void> generate_ele(const language_binding_config& cfg, language_binding_state& state, int64_t id){ |