Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
buildsupport
Commits
c2d5b23a
Commit
c2d5b23a
authored
Sep 22, 2016
by
Maxime Perrotin
Browse files
Fix regression with const in RI declarations
parent
1d30fb5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
c/build_c_skeletons.c
View file @
c2d5b23a
...
...
@@ -211,7 +211,7 @@ void add_RI_to_C_gw(Interface * i)
});
FOREACH
(
p
,
Parameter
,
i
->
out
,
{
fprintf
(
user_code_h
,
"%s
const
asn1Scc%s *"
,
fprintf
(
user_code_h
,
"%sasn1Scc%s *"
,
comma
?
sep
:
""
,
p
->
type
);
comma
=
true
;
...
...
c/practical_functions.c
View file @
c2d5b23a
...
...
@@ -1193,7 +1193,7 @@ void List_C_Types_And_Params_With_Pointers(Parameter * p, FILE ** file)
fprintf
(
*
file
,
"%s%sasn1Scc%s *%s_%s"
,
comma
?
", "
:
""
,
(
param_in
==
p
->
param_direction
)
?
""
:
""
,
(
param_in
==
p
->
param_direction
)
?
"
const
"
:
""
,
p
->
type
,
(
param_in
==
p
->
param_direction
)
?
"IN"
:
"OUT"
,
p
->
name
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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