MLPutInteger64List has been replaced by WSPutInteger64List.

int MLPutInteger64List(MLINK link,const mlint64 *a,int n)

puts a list of native 64-bit integers starting from location to the MathLink connection specified by .


  • MLPutInteger64List() returns 0 in the event of an error, and a nonzero value if the function succeeds.
  • Use MLError() to retrieve the error code if MLPutInteger64List() fails.
  • MLPutInteger64List() is declared in the MathLink header file mathlink.h.


Basic Examples  (1)

#include "mathlink.h"

/* send a one-dimensional list of 64-bit integers to a link */

void f(MLINK lp)
    mlint64 list[10], i;

    for(i = 0; i < 10; i++)
        list[i] = i;

    if(! MLPutInteger64List(lp, (mlint64 *)list, 10))
        { /* unable to send the list to lp */ }

See Also

MLPutInteger16List()  MLPutInteger32List()