Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
d2688f71
Commit
d2688f71
authored
Dec 19, 2014
by
Maxime Perrotin
Browse files
Return size in bytes, not in bits
parent
82080dd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/AdaGenerator.py
View file @
d2688f71
...
...
@@ -193,7 +193,7 @@ def _process(process, simu=False, **kwargs):
# Functions to get gobal variables (length and value)
for
var_name
,
(
var_type
,
_
)
in
process
.
variables
.
viewitems
():
process_level_decl
.
append
(
"function l_{name}_size return integer "
"is (l_{name}'Size) with Export, "
"is (l_{name}'Size
/8
) with Export, "
"Convention => C, "
'Link_Name => "{name}_size";'
.
format
(
name
=
var_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