NAME
void_unit1 - create a void unit and return pointer
PROTOTYPE
unitptr void_unit1( int *fi, int *fo, unitptr host)
ARGUMENTS
- int *fi
- adress of array whose first element fi[0] must contain the number of input fields, and whose fi[0] subsequent elements specify the number of pins of the fi[0] input fields.
- int *fo
- adress of array whose first element fo[0] must contain the number of output fields, and whose fo[0] subsequent elements specify the number of pins of the fo[0] output fields.
- unitptr host
- host unit
RETURN VALUE:
- unitptr u
- pointer to newly created instance of
a void unit with the specified number of
fields and pins.
DESCRIPTION:
This routine creates an instance of a void unit (i.e. con-
taining no subunits) which has a specified number of input
fields with specified numbers of pins (both defined in array
fi[]) and a specified number of output fields with specified
numbers of pins (both defined in array fo[]).
Return value is a pointer of type unit to the newly created
instance.
SEE ALSO:
void_unit, ,primitive_unit, ,primitive_unit1
FILE
/local/homes/rhaschke/nst7/man/../o.linx86_64//../nstsrc/nst3.c