MLPutInteger8List (C 函数)
MLPutInteger8List 已经被 WSPutInteger8List 所取代.
int WLPutInteger8List(( MLINK l , const unsigned char * a , int n )
puts a list of n 8-bit integers starting from location a to the MathLink connection specified by l.
更多信息

- MLPutInteger8List() returns 0 in the event of an error, and a nonzero value if the function succeeds.
- Use MLError() to retrieve the error code if MLPutInteger8List() fails.
- MLPutInteger8List() is declared in the MathLink header file mathlink.h.
范例
基本范例 (1)
#include "mathlink.h"
/* A function to send a one-dimensional list of 8-bit integers to a link */
void f(MLINK l)
{
unsigned char list[10];
int i;
for(i = 0; i < 10; i++)
list[i] = i;
if(! MLPutInteger8List(l, (unsigned char *)list, 10))
{ /* Unable to send the list to the link */ }
}