getloins3
Retrieve a logical instance
Synopsys
#include "mlo.h" loins_list ∗getloins(ptfig, name) lofig_list ∗ptfig; char ∗name;
Parameters
ptfig
|
Pointer to the figure in which the instance should be seeked |
|---|---|
name
|
Name of the instance |
Overview
getloins looks in the list of instances of the logical model pointed to by ptfig for a instance identified by its name. This instance is unique, since the name is the instance identifier.
Return value
getloins returns a pointer to the instance that matches the name.
Errors
"∗∗∗ mbk error ∗∗∗ illegal getloins instance name doesn't exist in figure ptfig->NAME"
No instance is called name in the figure.
Examples
#include "mlo.h"
loins_list ∗get_ins_by_name(figname, insname)
char ∗figname, ∗insname;
{
return getloins(getlofig(figname), insname);
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.