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
5dc3187d
Commit
5dc3187d
authored
Dec 13, 2014
by
Maxime Perrotin
Browse files
Generate size only in shared libs
parent
799fd46c
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/AdaGenerator.py
View file @
5dc3187d
...
...
@@ -336,8 +336,11 @@ package {process_name} is'''.format(process_name=process_name,
param_spec
=
''
if
'type'
in
signal
:
typename
=
type_name
(
signal
[
'type'
])
param_spec
=
u
'({pName}: access {sort}; Size: Integer)'
\
.
format
(
pName
=
param_name
,
sort
=
typename
)
param_spec
=
u
'({pName}: access {sort}{shared})'
\
.
format
(
pName
=
param_name
,
sort
=
typename
,
shared
=
u
'; Size: Integer'
if
SHARED_LIB
else
''
)
ads_template
.
append
(
u
'-- Required interface "'
+
signal
[
'name'
]
+
'"'
)
if
simu
:
# When generating a shared library, we need a callback mechanism
...
...
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