OMget_num_refs


Synopsis


int  OMget_num_refs (
OMobj_id  object_id,
int  *num,
int mode  );

Description

OMget_num_refs returns the number of connections for the specified object.

Arguments

object_id

The id of an object.

num

An output argument, set to the number of connections.

mode

Should be set to 0. 0 , the default if "object_id" refers to a reference to an object, has OMget_num_refs() count the references to that object. The mode should be OM_REF_SYMBOLIC if "object_id" refers to a reference to an object, in which case OMget_num_refs() will count the references to the reference.

Returned value

The status code (see Return Status ).

See also

•      OMget_array_ref