MLIsLinkLoopback (C Function)

MLIsLinkLoopback has been replaced by WSIsLinkLoopback.

int MLIsLinkLoopback( MLINK l )

queries the MathLink connection given by l to see if the link is a loopback link.

Details

  • MLIsLinkLoopback() returns 1 if l is a loopback link and 0 otherwise.
  • MLIsLinkLoopback() is declared in the MathLink header file mathlink.h.

Examples

Basic Examples  (1)

#include "mathlink.h"

/* A function to close just loopback links */

void f(MLINK l)
{
    if(MLIsLinkLoopback(l))
        MLClose(l);
}