Commit 5dc3187d authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Generate size only in shared libs

parent 799fd46c
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment