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