MLPutInteger64List (C 関数)
MLPutInteger64ListはWSPutInteger64Listに置き換えられた.
詳細
![](Files/MLPutInteger64List.ja/details_1.png)
- MLPutInteger64List()はエラーがあると0を返し,関数が成功すると0以外の値を返す.
- MLError()を使うと,MLPutInteger64List()が不成功の場合にエラーコードを引き出すことができる.
- MLPutInteger64List()は,MathLinkヘッダファイルmathlink.hの中で宣言される.
例題
例 (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 */ }
}