MLIsLinkLoopback (C 函数)

MLIsLinkLoopback 已经被 WSIsLinkLoopback 所取代.

int WLIsLinkLoopback( MLINK l )

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

更多信息

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

范例

基本范例  (1)

#include "mathlink.h"

/* A function to close just loopback links */

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