Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
mbe-tools
TTool
Commits
a771db44
Commit
a771db44
authored
13 years ago
by
Ludovic Apvrille
Browse files
Options
Downloads
Patches
Plain Diff
AVATAR code generator: Update on function execution
parent
3f086eb9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
executablecode/Makefile
+2
-2
2 additions, 2 deletions
executablecode/Makefile
executablecode/Makefile.src
+1
-1
1 addition, 1 deletion
executablecode/Makefile.src
src/avatartranslator/toexecutable/AVATAR2CPOSIX.java
+4
-0
4 additions, 0 deletions
src/avatartranslator/toexecutable/AVATAR2CPOSIX.java
with
7 additions
and
3 deletions
executablecode/Makefile
+
2
−
2
View file @
a771db44
...
...
@@ -7,10 +7,10 @@ OPT = -O1 -pthread
# Solaris
#LOPT = -O1 -pthread -ldl -lnsl -lsocket
#Linux
LOPT
=
-O1
-pthread
-ldl
-lrt
LOPT
_UNIX
=
-O1
-pthread
-ldl
-lrt
LOPT_MAC
=
-O1
-pthread
-ldl
LOPT
=
$(
LOPT_
MAC
)
LOPT
=
$(
LOPT_
UNIX
)
DEBUG
=
-g
OTHER
=
-Wall
...
...
This diff is collapsed.
Click to expand it.
executablecode/Makefile.src
+
1
−
1
View file @
a771db44
SRCS
=
generated_src/main.c generated_src/Block0.c
\ No newline at end of file
SRCS
=
generated_src/main.c generated_src/RemotelyControlledMicrowave.c generated_src/RemoteControl.c generated_src/MicroWaveOven.c generated_src/Bell.c generated_src/ControlPanel.c generated_src/Controller.c generated_src/Magnetron.c generated_src/Door.c generated_src/WirelessInterface.c
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/avatartranslator/toexecutable/AVATAR2CPOSIX.java
+
4
−
0
View file @
a771db44
...
...
@@ -243,6 +243,10 @@ public class AVATAR2CPOSIX {
}
}
list
=
am
.
getListOfReturnAttributes
();
if
(
list
.
size
()
!=
0
)
{
ret
+=
"return 0;"
+
CR
;
}
ret
+=
"}"
+
CR
+
CR
;
}
_taskFile
.
addToMainCode
(
ret
+
CR
);
...
...
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