Bug introduced in 10.0 and persisting through 11.3.0
Note: MLGetUTF8Function
is new in 10.0 (ML interface 4).
Despite being in docs and wstp.h
header file, some function symbols can't be found in shared library:
khaotik@KKST:~$ objdump -t $MATHEMATICA_HOME/SystemFiles/Links/WSTP/DeveloperKit/Linux-x86-64/CompilerAdditions/libWSTP64i4.so | grep WSGet | grep Function
000000000012ba10 g F .text 0000000000000005 WSGetYieldFunction
0000000000078f20 g F .text 000000000000012e WSGetFunction
khaotik@KKST:~$ objdump -t $MATHEMATICA_HOME/SystemFiles/Links/WSTP/DeveloperKit/Linux-x86-64/CompilerAdditions/libWSTP64i4.so | grep WSPut | grep Function
000000000008c590 g F .text 0000000000000123 WSPutUTF8Function
000000000008c8f0 g F .text 0000000000000123 WSPutUCS2Function
000000000008be60 g F .text 0000000000000123 WSPutUTF32Function
000000000008c220 g F .text 0000000000000123 WSPutUTF16Function
000000000008cc20 g F .text 000000000000012b WSPutFunction
Why are WSGetUTF8Function
and other unicode version getters missing?
Note: I'm using Mathematica 11.3 on Ubuntu 18.04
mathlink.h
on OS X / M11.3.0. Present in the header but not the library. Looks like a bug. Please do report it to Wolfram and let us know what they said. wolfram.com/support/contact $\endgroup$MLGetReal64Array
. $\endgroup$MLGetArrayTypeWithDepthAndLeafType
$\endgroup$