A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/ref/c/WSGetInteger32Array.html below:

WSGetInteger32Array()—Wolfram Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

WolframConsulting.com

int WSGetInteger32Array(WSLINK link,int **a,int **dims,char ***heads,int *d)

gets an array of 32-bit integers from the WSTP connection specified by link, storing the array in a, its dimensions in dims and its depth in d.

Examples Basic Examples  (1)
#include "wstp.h"

/* read an array of 32-bit integers from a link */

void f(WSLINK lp)


{
    int *data;
    int *dims;
    char **heads;
    int d;

    if(! WSGetInteger32Array(lp, &data, &dims, &heads, &d))


        {
            /* unable to read the array of integers from lp */
            return;
        }

    /* ... */

    WSReleaseInteger32Array(lp, data, dims, heads, d);


}
History

Introduced in 2007 (6.0)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4