int create_unit | (unit, map_id, layer_flag) |
UNIT | *unit | A pointer to the UNIT structure to be filled. |
long | map_id | Necessary to fill the UNIT structure's LayerId field. |
long | layer_flag | Necessary to fill the UNIT structure's UnitName field. |
InOutIndex | Depending on layer_flag, filled using the in_index variable (for input units) or the out_index variable (for output units). |
ActFunc | If the unit is an input unit, set to NULL; otherwise, set using DFLT_ACT_FUNC. |
TransFunc | If the unit is an input unit, set to NULL; otherwise, set using DFLT_TRANS_FUNC. |
DerTransFunc | If the unit is an input unit, set to NULL; otherwise, set using DFLT_DER_TRANS_FUNC. |
DerDerTransFunc | If the unit is an input unit, set to NULL; otherwise, set using DFLT_DER_DER_TRANS_FUNC. |
UnitFlag | The appropriate flag from UNIT-flags. |
Theta.WeightFlag | Set to VARWEIGHT (or FIXWEIGHT for input units). |
This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998