From 977ac8bce989285eaabc76c4ed8571ce5fd6793a Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Mon, 22 Jul 2024 17:44:27 +0200 Subject: wip --- modules/tools/c++/c_gen_iface.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/tools') diff --git a/modules/tools/c++/c_gen_iface.hpp b/modules/tools/c++/c_gen_iface.hpp index 63cd3a7..3a648a1 100644 --- a/modules/tools/c++/c_gen_iface.hpp +++ b/modules/tools/c++/c_gen_iface.hpp @@ -488,7 +488,12 @@ struct lang_bind...>, binding::SyncC> { using Schema = schema::Struct...>; template - static error_or generate_translation_func(std::string& buff, const std::string_view& prefix, bool c_to_cpp){ + static error_or generate_translation_func(const language_binding_config& cfg, language_binding_state& state, std::string& buff, bool c_to_cpp){ + using MT = typename parameter_pack_type::type; + static constexpr string_literal Lit = parameter_key_pack_type::literal; + + constexpr uint32_t hash = schema_hash::apply(); + auto& tpe = state.tp_elements; uint64_t id; { -- cgit v1.2.3