diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-18 00:22:09 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-18 00:22:09 +0100 |
commit | 0906dff296214bbff9f0e08a3bebc8c58758aa3f (patch) | |
tree | b62c60304e382439173710d267966d5236ec2c40 /modules/tools | |
parent | 89ee081584efbd215ad7780ee6500c387d776845 (diff) |
io,codec,io_codec: RPC work
Diffstat (limited to 'modules/tools')
-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 64ac5a5..8eb0bca 100644 --- a/modules/tools/c++/c_gen_iface.hpp +++ b/modules/tools/c++/c_gen_iface.hpp @@ -507,6 +507,12 @@ struct lang_bind<schema::Function<Input, Output>, binding::SyncC> { } } { + auto eov = lang_bind_helper::append_string(src, ""); + if(eov.is_error()){ + return eov; + } + } + { auto eov = lang_bind_helper::append_string(src, "return 0;\n}\n\n"); if(eov.is_error()){ return eov; |