Commit f0aa5276 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

get_descriptor is present in runtime2 so it also should be present in runtime1...


get_descriptor is present in runtime2 so it also should be present in runtime1 to allow seemless switching between the runtimes.
Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 32e4887b
......@@ -3640,6 +3640,11 @@ void defRecordClass1(const struct_def *sdef, output_struct *output)
src = mputstr(src,
"}\n\n");
def = mputstr(def, "const TTCN_Typedescriptor_t* get_descriptor() const;\n");
src = mputprintf(src,
"const TTCN_Typedescriptor_t* %s::get_descriptor() const { return &%s_descr_; }\n",
name, name);
/* = operator */
def = mputprintf(def, " %s& operator=(const %s& other_value);\n", name, name);
src = mputprintf(src, "%s& %s::operator=(const %s& other_value)\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment