The Complete SPRLIB & ANNLIB

get_weight

- maps two unit IDs to a weight pointer

SYNOPSIS

WEIGHT *get_weight (SourceUnitId, DestUnitId, net)

ARGUMENTS

long SourceUnitId The ID of the source ('from') UNIT of the LINK to be found.
long DestUnitId The ID of the destination ('to') UNIT of the LINK to be found.
NET *net A pointer to a correctly filled NET structure.

RETURNS

A pointer to the WEIGHT of the LINK between the two given units, or NULL in case that LINK is not found.

NOTE

This function uses the get_outlink function.

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998