Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
buildsupport
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TASTE
buildsupport
Commits
5570c9ff
Commit
5570c9ff
authored
7 years ago
by
Daniel Tuulik
Browse files
Options
Downloads
Patches
Plain Diff
Avoid generating system_implementation.pr for SDL function instances
parent
a548fe1f
Branches
multi-instance
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
c/sdl_gateway.c
+3
-2
3 additions, 2 deletions
c/sdl_gateway.c
with
3 additions
and
2 deletions
c/sdl_gateway.c
+
3
−
2
View file @
5570c9ff
...
...
@@ -68,8 +68,9 @@ void Create_New_SDL_Structure(FV * fv)
char
*
filename
=
make_string
(
"%s.pr"
,
fv
->
name
);
/* If not already existing, also create an empty system_implementation.pr
* file - includes timer declarations, if any */
if
(
!
file_exists
(
path
,
filename
))
{
* file - includes timer declarations, if any.
* Do not create in case the function is an instance of a generic function*/
if
(
!
file_exists
(
path
,
filename
)
&&
(
NULL
==
fv
->
instance_of
))
{
create_file
(
path
,
filename
,
&
process
);
if
(
fv
->
is_component_type
==
false
)
{
fprintf
(
process
,
"PROCESS %s;
\n
"
,
fv
->
name
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment