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/WSGetUnicodeString.html below:

WSGetUnicodeString()—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 WSGetUnicodeString(WSLINK link,unsigned short **s,long *n)

gets a character string from the WSTP connection specified by link, storing the string in s as a sequence of 16-bit Unicode characters.

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

/* read a UCS-2 encoded string from a link */

void f(WSLINK lp)


{
    const unsigned short *string;
    long length;

    if(! WSGetUnicodeString(lp, &string, &length))


        {
            /* unable to read the UCS-2 string */
            return;
        }

    /* ... */

    WSDisownUnicodeString(lp, string, length);


}
History

Introduced in 1996 (3.0) | Updated 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