FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kPxBlock_DefineInput ( kPxBlock  block,
const kChar name,
k32u  id,
kPxPort port 
)

Defines an input port for a block.

This function should typically be called from within a block's OnSetup method.

Parameters
blockBlock object.
namePort name.
idPort identifier, unique within this block.
portReturns the port object (optional).
Returns
Operation status.