From f619c4093e564562ce2d48f8cf9b8bcac859009c Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Tue, 16 Jul 2024 15:09:57 +0200 Subject: Minor changes and setting up crypto module --- modules/tools/c++/c_gen_iface.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'modules/tools') diff --git a/modules/tools/c++/c_gen_iface.hpp b/modules/tools/c++/c_gen_iface.hpp index 8016c6a..63cd3a7 100644 --- a/modules/tools/c++/c_gen_iface.hpp +++ b/modules/tools/c++/c_gen_iface.hpp @@ -489,6 +489,17 @@ struct lang_bind...>, binding::SyncC> { template static error_or generate_translation_func(std::string& buff, const std::string_view& prefix, bool c_to_cpp){ + auto& tpe = state.tp_elements; + uint64_t id; + { + std::string hash_type_str = cfg.prefix + "_" + std::to_string(hash) + "_t"; + } + { + auto eov = lang_bind_helper::append_string(tpe.at(id).source, "\treturn void_t{};\n}\n"); + if(eov.is_error()){ + return eov; + } + } return void_t{}; } @@ -538,6 +549,8 @@ struct lang_bind...>, binding::SyncC> { /** * Generate translation element */ + { + } /** * Ensure generation of dependent types */ -- cgit v1.2.3