robertobucher / pysimCoder

Block diagram editor and real time code generator for Python
GNU General Public License v3.0
142 stars 31 forks source link

RCPgen: link Inputs and Outputs with Nodes statically #42

Closed michallenc closed 2 years ago

michallenc commented 2 years ago

This commit removes assignment of Nodes to Inputs and Outputs in initialization function name_init() and assignes them statically during variable declaration and definition. The advantage is more clear code. It is also a preparation for possible further changes, Inputs and Outputs could for example be consts.

This change does not affect any other part of the code. Access of blocks' inputs and outputs remains the same.