VgaGames4

VgaGames4 - nodelink man-pages

[.. upper level ..]

# vg4->nodelink->islink()

Return whether two nodes are linked.

SYNTAX
VG_BOOL vg4->nodelink->islink(struct VG_Nodelink *ndlnk, const char *nodeid1, const char *nodeid2, VG_BOOL withdeact)
FUNCTION PARAMETERS

ndlnk | Nodelink
nodeid1 | Node from
nodeid2 | Node to
withdeact | Whether ignore deactivation of links

RETURN VALUE
Returns boolean: - VG_TRUE: Linked - VG_FALSE: Not linked
DESCRIPTION
Return whether nodeid1 is linked to nodeid2. This function also returns VG_FALSE, if nodeid1 is linked to nodeid2, but this link is deactivated by vg4->nodelink->deactivate(). With withdeact set to VG_TRUE, a possible deactivation of nodeid1 to nodeid2 is ignored.