Commit 6cc5648e authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Use pointers as expected by vdm B mappers

parent a4728995
Pipeline #1187 skipped
...@@ -213,7 +213,7 @@ void add_pi_to_vdm_gw(Interface * i, int idx) ...@@ -213,7 +213,7 @@ void add_pi_to_vdm_gw(Interface * i, int idx)
FOREACH(param, Parameter, i->in, { FOREACH(param, Parameter, i->in, {
fprintf(c_bridge, fprintf(c_bridge,
" TVP ptr_%s = NULL;\n" " TVP ptr_%s = NULL;\n"
" Convert_%s_from_ASN1SCC_to_VDM(ptr_%s, IN_%s);\n", " Convert_%s_from_ASN1SCC_to_VDM(&ptr_%s, IN_%s);\n",
param->name, param->name,
param->type, param->type,
param->name, param->name,
...@@ -248,7 +248,7 @@ void add_pi_to_vdm_gw(Interface * i, int idx) ...@@ -248,7 +248,7 @@ void add_pi_to_vdm_gw(Interface * i, int idx)
if (i->out) { if (i->out) {
fprintf(c_bridge, fprintf(c_bridge,
"\n Convert_%s_from_VDM_to_ASN1SCC(OUT_%s, vdm_OUT_%s);\n", "\n Convert_%s_from_VDM_to_ASN1SCC(OUT_%s, &vdm_OUT_%s);\n",
i->out->value->type, i->out->value->type,
i->out->value->name, i->out->value->name,
i->out->value->name); i->out->value->name);
......
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