Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
buildsupport
Commits
6cc5648e
Commit
6cc5648e
authored
Sep 01, 2016
by
Maxime Perrotin
Browse files
Use pointers as expected by vdm B mappers
parent
a4728995
Pipeline
#1187
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
c/build_vdm_skeletons.c
View file @
6cc5648e
...
...
@@ -213,7 +213,7 @@ void add_pi_to_vdm_gw(Interface * i, int idx)
FOREACH
(
param
,
Parameter
,
i
->
in
,
{
fprintf
(
c_bridge
,
" 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
->
type
,
param
->
name
,
...
...
@@ -248,7 +248,7 @@ void add_pi_to_vdm_gw(Interface * i, int idx)
if
(
i
->
out
)
{
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
->
name
,
i
->
out
->
value
->
name
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment