From 52e69b435d5213f37473d54767141d1a3db7f345 Mon Sep 17 00:00:00 2001 From: rlm Date: Wed, 11 Sep 2019 13:46:48 +0200 Subject: :Jira: ADSVHTNG-1055 - fixed incomplete tascxml:set command definition in c generation Change-Id: I2f6fff2e31d99b0a4fde3525822f86cdea086aa4 --- src/uscxml/transform/ChartToC.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/uscxml/transform/ChartToC.cpp b/src/uscxml/transform/ChartToC.cpp index 75aaf8b..475e423 100755 --- a/src/uscxml/transform/ChartToC.cpp +++ b/src/uscxml/transform/ChartToC.cpp @@ -711,6 +711,7 @@ void ChartToC::writeTypes(std::ostream& stream) { stream << "typedef struct uscxml_elem_donedata uscxml_elem_donedata;" << std::endl; stream << "typedef struct uscxml_elem_foreach uscxml_elem_foreach;" << std::endl; stream << "typedef struct uscxml_elem_tascxml_result uscxml_elem_tascxml_result;" << std::endl; + stream << "typedef struct uscxml_elem_tascxml_set uscxml_elem_tascxml_set;" << std::endl; stream << std::endl; stream << "typedef void* (*dequeue_internal_t)(const uscxml_ctx* ctx);" << std::endl; @@ -735,6 +736,7 @@ void ChartToC::writeTypes(std::ostream& stream) { stream << "typedef int (*exec_content_finalize_t)(const uscxml_ctx* ctx, const uscxml_elem_invoke* invoker, const void* event);" << std::endl; stream << "typedef int (*exec_content_script_t)(const uscxml_ctx* ctx, const char* src, const char* content);" << std::endl; stream << "typedef int (*exec_content_tascxml_result_t)(const uscxml_ctx* ctx, const uscxml_elem_tascxml_result* result);" << std::endl; + stream << "typedef int (*exec_content_tascxml_set_t)(const uscxml_ctx* ctx, const uscxml_elem_tascxml_set* set);" << std::endl; stream << std::endl; stream << "/**" << std::endl; @@ -941,6 +943,7 @@ void ChartToC::writeTypes(std::ostream& stream) { stream << " exec_content_cancel_t exec_content_cancel;" << std::endl; stream << " exec_content_script_t exec_content_script;" << std::endl; stream << " exec_content_tascxml_result_t exec_content_tascxml_result;" << std::endl; + stream << " exec_content_tascxml_set_t exec_content_tascxml_set;" << std::endl; stream << std::endl; stream << " invoke_t invoke;" << std::endl; stream << "};" << std::endl; -- cgit v0.12