Hello,
I want to use string list handling in the CAPI.
On http://reference.wolfram.com/language/LibraryLink/tutorial/InteractionWithMathematica.html
there are all available data types for using to transfer data from mathematica to my shared library.
Available are:
"Boolean" mbool Boolean ....
{base,rank,memory} MTensor tensor with specified memory management
LibraryDataType[SparseArray,
] MSparseArray sparse array
"UTF8String" char * UTF8 string
LinkObject WSLINK arguments and result written to WSTP ´ ...
So I can only use char * with
MArgument_getUTF8String(Args[n]);
or is there another possibility to manage lists of string. The strange thing is that there are lists available in mathematica see:
http://reference.wolfram.com/language/ref/format/List.html
and
http://www.mathematica-journal.com/2013/04/strings/
So how can I transfer such a list to my c++ shared library?
It would be great if you could help me.
Best regards,
Roland