WSTP C Language Functions

The WSTP library provides a collection of C language functions for interacting with the Wolfram Language via WSTP. These functions allow you not only to handle native C data types, but also to construct and deconstruct full Wolfram Language symbolic expressions.

WSTP Template Files »

.tm template file for installable C programs

Sending & Receiving Data »

WSPutInteger32()  ▪  WSPutInteger32List()  ▪  WSPutReal64()  ▪  WSPutString()  ▪  ...

WSGetInteger32()  ▪  WSGetInteger32List()  ▪  WSGetReal64()  ▪  WSGetString()  ▪  ...

Functions & Expressions »

WSPutFunction()  ▪  WSGetFunction()  ▪  WSTestHead()  ▪  WSPutSymbol()  ▪  ...

WSTP Connection Management »

WSOpenString()  ▪  WSOpenArgcArgv()  ▪  WSInitialize()  ▪  WSClose()  ▪  ...

Expression Packet Handling »

WSNextPacket()  ▪  WSNewPacket()  ▪  WSEndPacket()  ▪  ...

Error Handling »

WSError()  ▪  WSErrorMessage()  ▪  WSClearError()  ▪  ...

Expression Storage »

WSLoopbackOpen()  ▪  WSTransferExpression()  ▪  ...

Low-Level WSTP Operations »

WSPutSize()  ▪  WSPutData()  ▪  WSPutNext()  ▪  WSGetType()  ▪  WSReady()  ▪  ...

Related Tutorials