Commit a13cef61 authored by dbarbera's avatar dbarbera
Browse files

Fixed output signal generation for signals without parameters

parent 3959dc51
......@@ -112,7 +112,10 @@ def _process(process):
# Initialize output signals
for signal in process.output_signals:
if 'type' in signal:
param_tys = [core.Type.pointer(_generate_type(signal['type']))]
else:
param_tys = []
func_ty = core.Type.function(g.void, param_tys)
core.Function.new(g.module, func_ty, str(signal['name']))
......
Supports Markdown
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